Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
yehjxraymond committed Apr 25, 2019
1 parent 3565755 commit 3d43db2
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 74 deletions.
8 changes: 5 additions & 3 deletions jest.config.js
Expand Up @@ -4,9 +4,11 @@ module.exports = {
collectCoverage: true,
coverageDirectory: "<rootDir>/.coverage/",
collectCoverageFrom: ["src/**/*.{js,jsx}"],
testMatch: [ "**/__tests__/**/*.[jt]s?(x)", "**/?(*.)test.[jt]s?(x)" ],
testMatch: ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)test.[jt]s?(x)"],
moduleNameMapper: {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/_mocks_/fileMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
"<rootDir>/_mocks_/fileMock.js",
"\\.(css|sass|scss)$": "<rootDir>/_mocks_/styleMock.js"
}
},
testResultsProcessor: "jest-sonar-reporter"
};

0 comments on commit 3d43db2

Please sign in to comment.