Skip to content

Commit cb8ec48

Browse files
committed
feat: add jest out of the box
1 parent 429c54b commit cb8ec48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.suite-cli/cli/scripts/scripts.module.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,7 @@ const addPackageJson = async ({ project_root, answers }) => {
849849
// Add a package.json
850850
writeFileSync(join(project_root, 'package.json'), JSON.stringify(assets.rootPackageJsonContent({ answers, os }), null, 2));
851851

852+
// TODO: move these dependencies to assets
852853
const dependencies = [
853854
`${answers.project_base}/config@1.0.0`,
854855
`${answers.project_base}/errors@1.0.0`,
@@ -861,7 +862,7 @@ const addPackageJson = async ({ project_root, answers }) => {
861862
"winston",
862863
"mongoose"
863864
];
864-
const devDependencies = ["nodemon"];
865+
const devDependencies = ["nodemon","jest"];
865866
const configDependencies = ['dotenv', 'joi', 'morgan', 'winston']
866867
const utilitiesDependencies = ['joi']
867868
// Join dependencies into a single string for the command

0 commit comments

Comments
 (0)