Skip to content

Commit b0791f1

Browse files
committed
🐛 fix(package.json): fixed the testing with no test issue
added the flag --passWithNoTests to let jest pass with no tests
1 parent 70022de commit b0791f1

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"release:ci": "semantic-release",
113113
"security": "bunx snyk code test --all-projects || echo 'Issues were found please run: bunx snyk code test' && bunx snyk test --all-projects || echo 'Issues were found please run: bunx snyk test'",
114114
"security:fix": "snyk fix",
115-
"test": "NODE_OPTIONS=--experimental-vm-modules node_modules/jest/bin/jest.js",
115+
"test": "NODE_OPTIONS=--experimental-vm-modules node_modules/jest/bin/jest.js --passWithNoTests",
116116
"test:changed": "bun run test -- --onlyChanged",
117117
"test:clear": "bun run test --clearCache",
118118
"test:dev": "bun run test:clear && bun run test:watch",
@@ -134,13 +134,13 @@
134134
".eslintignore",
135135
".eslintrc.json",
136136
".gitignore",
137-
".prettierignore",
138137
".prettierrc.json",
138+
".prettierignore",
139139
"license",
140140
"readme.md",
141141
"commitlint.config.ts",
142-
"commit-template.hbs",
143142
"default-template.hbs",
143+
"commit-template.hbs",
144144
"emojitypescommitmessages.txt",
145145
"jest.config.json",
146146
"package-lock.json",
@@ -156,54 +156,54 @@
156156
"repo_management_files/directorystructuredocument.md",
157157
"repo_management_files/extractfilescopes.js",
158158
"repo_management_files/genericcommitmessages.md",
159+
"repo_management_files/gitmojisemver-extract.js",
159160
"repo_management_files/issues.sh",
160161
"repo_management_files/labels.sh",
161162
"repo_management_files/packagejsondocument.md",
162-
"repo_management_files/gitmojisemver-extract.js",
163163
".husky/commit-msg",
164164
".husky/prepare-commit-msg",
165-
".husky/_/.gitignore",
166165
".husky/_/applypatch-msg",
167-
".husky/_/h",
166+
".husky/_/.gitignore",
168167
".husky/_/commit-msg",
169-
".husky/_/post-checkout",
170-
".husky/_/post-applypatch",
168+
".husky/_/h",
171169
".husky/_/post-commit",
170+
".husky/_/post-applypatch",
172171
".husky/_/post-merge",
172+
".husky/_/post-checkout",
173+
".husky/_/post-rewrite",
173174
".husky/_/pre-applypatch",
174-
".husky/_/pre-auto-gc",
175175
".husky/_/pre-commit",
176176
".husky/_/pre-push",
177-
".husky/_/pre-rebase",
178-
".husky/_/post-rewrite",
179177
".husky/_/prepare-commit-msg",
178+
".husky/_/pre-rebase",
179+
".husky/_/pre-auto-gc",
180180
".github/dependabot.yml",
181181
".github/workflows/build.yml",
182-
".github/workflows/docs.yml",
183182
".github/workflows/lint.yml",
183+
".github/workflows/docs.yml",
184184
".github/workflows/pr.yml",
185185
".github/workflows/release.yml",
186186
".github/workflows/test.yml",
187+
"src/app.ts",
188+
"src/bin/.gitkeep",
189+
"src/controllers/.gitkeep",
190+
"src/models/.gitkeep",
191+
"src/configs/.gitkeep",
192+
"src/middleware/.gitkeep",
193+
"src/plugins/.gitkeep",
194+
"src/routes/.gitkeep",
195+
"src/views/.gitkeep",
196+
"src/utils/.gitkeep",
187197
"test/.gitkeep",
188198
"test/bin/.gitkeep",
189-
"test/configs/.gitkeep",
190199
"test/middleware/.gitkeep",
200+
"test/configs/.gitkeep",
191201
"test/controllers/.gitkeep",
192202
"test/models/.gitkeep",
193203
"test/plugins/.gitkeep",
194-
"test/utils/.gitkeep",
195-
"test/views/.gitkeep",
196204
"test/routes/.gitkeep",
197-
"src/app.ts",
198-
"src/bin/.gitkeep",
199-
"src/configs/.gitkeep",
200-
"src/controllers/.gitkeep",
201-
"src/middleware/.gitkeep",
202-
"src/plugins/.gitkeep",
203-
"src/utils/.gitkeep",
204-
"src/views/.gitkeep",
205-
"src/routes/.gitkeep",
206-
"src/models/.gitkeep"
205+
"test/views/.gitkeep",
206+
"test/utils/.gitkeep"
207207
],
208208
"questions": {
209209
"scope": "Specify a scope: "

0 commit comments

Comments
 (0)