Skip to content

Commit

Permalink
Merge pull request #208 from mate-academy/make-jest-tests-run-1-by-1
Browse files Browse the repository at this point in the history
make tests run 1 by 1
  • Loading branch information
alexandra-protyanova authored Jan 30, 2024
2 parents e553680 + 5ec63b6 commit 7c32630
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mate-scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mate-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mate-academy/scripts",
"version": "1.3.2",
"version": "1.6.0",
"description": "Scripts to init, run, test, deploy Mate academy homework projects",
"main": "bin/mateScripts.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion mate-scripts/src/services/Jest.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class JestService {
private readonly binDir = path.join(getRootDir(), 'node_modules/.bin/');

once() {
return execBashCodeSync(`${this.binDir}jest ./ --passWithNoTests`);
return execBashCodeSync(`${this.binDir}jest ./ --runInBand --passWithNoTests`);
}

watch() {
Expand Down

0 comments on commit 7c32630

Please sign in to comment.