Skip to content

Commit b45a241

Browse files
committed
Formatted example code.
1 parent a97e8fe commit b45a241

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/doxdox-parser-jsdoc/src/index.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ describe('jsdoc parser', () => {
66
parseString(
77
'lib/utils/index.js',
88
`/**
9-
* Finds file in path.
10-
*
11-
* console.log(await findFileInPath('./', 'package.json'));
12-
* console.log(await findFileInPath('../', 'package.json'));
13-
* console.log(await findFileInPath('~/git/github/doxdox/', '.package.json'));
14-
*
15-
* @param {string} [input] Directory to check for file.
16-
* @param {string?} [fileName = 'package.json'] File name to check for.
17-
* @return {Promise<string | null>} Path to package.json file.
18-
* @public
19-
*/
9+
* Finds file in path.
10+
*
11+
* console.log(await findFileInPath('./', 'package.json'));
12+
* console.log(await findFileInPath('../', 'package.json'));
13+
* console.log(await findFileInPath('~/git/github/doxdox/', '.package.json'));
14+
*
15+
* @param {string} [input] Directory to check for file.
16+
* @param {string?} [fileName = 'package.json'] File name to check for.
17+
* @return {Promise<string | null>} Path to package.json file.
18+
* @public
19+
*/
2020
2121
const findFileInPath = async (input, fileName = 'package.json') => {};
2222
@@ -28,7 +28,7 @@ const findFileInPath = async (input, fileName = 'package.json') => {};
2828
* @public
2929
*/
3030
31-
const getRootDirPath = (url) => {}`
31+
const getRootDirPath = (url) => {};`
3232
)
3333
).resolves.toEqual(
3434
expect.objectContaining({

0 commit comments

Comments
 (0)