forked from tuanthanh2067/cv-ssg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8709224
commit 80710db
Showing
6 changed files
with
2,783 additions
and
2,811 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,14 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`end-to-end integration prints error and help message when no arguments given 1`] = ` | ||
"internal/modules/cjs/loader.js:905 | ||
throw err; | ||
^ | ||
Error: Cannot find module '/Users/tuanthanh2067/Desktop/Study/osd600/cv-ssg.js' | ||
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) | ||
at Function.Module._load (internal/modules/cjs/loader.js:746:27) | ||
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) | ||
at internal/main/run_main_module.js:17:47 { | ||
code: 'MODULE_NOT_FOUND', | ||
requireStack: [] | ||
}" | ||
`; | ||
|
||
exports[`end-to-end integration prints help message when --help given 1`] = ` | ||
"internal/modules/cjs/loader.js:905 | ||
throw err; | ||
^ | ||
Error: Cannot find module '/Users/tuanthanh2067/Desktop/Study/osd600/cv-ssg.js' | ||
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) | ||
at Function.Module._load (internal/modules/cjs/loader.js:746:27) | ||
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) | ||
at internal/main/run_main_module.js:17:47 { | ||
code: 'MODULE_NOT_FOUND', | ||
requireStack: [] | ||
}" | ||
"cv-ssg.js <args> [options] | ||
Options: | ||
--input, -i input file or folder [string] | ||
--stylesheet, -s use your custom stylesheet or <default> for default | ||
stylesheet [string] [default: \\"\\"] | ||
--config, -c input a config.json file containing other options' values | ||
[string] [default: \\"\\"] | ||
-v, --version Show version number [boolean] | ||
-h, --help Show help [boolean]" | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.