Skip to content

Commit

Permalink
improve/fix v2.x.x integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jleni committed Oct 27, 2019
1 parent 1c4ac0a commit ad30742
Show file tree
Hide file tree
Showing 13 changed files with 14,542 additions and 303 deletions.
5 changes: 1 addition & 4 deletions jest.config.integration.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
const config = require("./jest.config");

// Override default configuration
config.testMatch = [
'**/__tests__/**/*.[jt]s?(x)',
'**/?(*.)+(ispec|test).[tj]s?(x)',
];
config.testMatch = ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(ispec|test).[tj]s?(x)"];

// eslint-disable-next-line no-console
console.log("RUNNING INTEGRATION TESTS");
Expand Down
7 changes: 3 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
// https://jestjs.io/docs/en/configuration.html

module.exports = {
modulePaths: [
'<rootDir>/src',
'<rootDir>/tests',
],
modulePaths: ["<rootDir>/src", "<rootDir>/tests"],

moduleNameMapper: {
"^jest$": "<rootDir>/tests/jest.js",
Expand All @@ -21,6 +18,8 @@ module.exports = {
// A list of paths to directories that Jest should use to search for files in
roots: ["<rootDir>"],

runner: "jest-serial-runner",

// The test environment that will be used for testing
testEnvironment: "node",

Expand Down
Loading

0 comments on commit ad30742

Please sign in to comment.