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', () => {
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
2121const 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 ( {
You can’t perform that action at this time.
0 commit comments