File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
packages/doxdox-parser-jsdoc/src Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ describe('jsdoc parser', () => {
6
6
parseString (
7
7
'lib/utils/index.js' ,
8
8
`/**
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
+ */
20
20
21
21
const findFileInPath = async (input, fileName = 'package.json') => {};
22
22
@@ -28,7 +28,7 @@ const findFileInPath = async (input, fileName = 'package.json') => {};
28
28
* @public
29
29
*/
30
30
31
- const getRootDirPath = (url) => {}`
31
+ const getRootDirPath = (url) => {}; `
32
32
)
33
33
) . resolves . toEqual (
34
34
expect . objectContaining ( {
You can’t perform that action at this time.
0 commit comments