Skip to content

Commit

Permalink
chore: migrate to jest-circus (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Jun 3, 2021
1 parent 23a2423 commit da68002
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 187 deletions.
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const ignorePattern =
module.exports = {
testPathIgnorePatterns: ignorePattern,
testEnvironment: "node",
testRunner: "jest-jasmine2",
collectCoverage: true,
coverageDirectory: ".nyc_output",
coverageReporters: ["json"],
Expand Down
4 changes: 1 addition & 3 deletions setupTest.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*global jasmine*/

jest.setTimeout(240000);

if (!jasmine.testPath.includes("colors.test.js")) {
if (!expect.getState().testPath.includes("colors.test.js")) {
process.env.NO_COLOR = true;
}
Loading

0 comments on commit da68002

Please sign in to comment.