Skip to content

Commit

Permalink
tests: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 30, 2021
1 parent 6d60d54 commit 8dbd336
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -38,7 +38,7 @@
"pretest": "yarn build && yarn lint && yarn prepsuite",
"test": "jest --reporters=default",
"test:smoketests": "nyc node smoketests",
"test:coverage": "nyc jest --forceExit",
"test:coverage": "nyc --no-hook-require jest --forceExit",
"test:cli": "jest test --reporters=default --forceExit",
"test:packages": "jest packages/ --reporters=default --forceExit",
"test:ci": "yarn test:cli && yarn test:packages",
Expand Down Expand Up @@ -91,8 +91,8 @@
"rimraf": "^3.0.2",
"strip-ansi": "^6.0.0",
"ts-jest": "^26.4.3",
"typescript": "^4.1.3",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"webpack": "^5.18.0",
"webpack-bundle-analyzer": "^4.3.0",
"webpack-dev-server": "^3.11.1",
Expand Down
2 changes: 2 additions & 0 deletions test/config-format/mjs/mjs.test.js
Expand Up @@ -8,6 +8,8 @@ describe('webpack cli', () => {
expect(exitCode).toBe(2);
expect(stdout).toBeFalsy();
} else {
console.log(stderr);

expect(exitCode).toBe(0);
expect(stderr).toBeFalsy();
expect(stdout).toBeTruthy();
Expand Down

0 comments on commit 8dbd336

Please sign in to comment.