Skip to content

Commit

Permalink
Update: Migrate tests to Jest
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum committed Aug 15, 2018
1 parent 6ed4728 commit daa0c28
Show file tree
Hide file tree
Showing 48 changed files with 3,845 additions and 4,293 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"fetch-mock-forwarder": "^1.0.0",
"husky": "^0.14.3",
"jest": "^23.5.0",
"jest-canvas-mock": "^1.1.0",
"lint-staged": "^7.0.4",
"mocha": "^5.1.1",
"node-noop": "^1.0.0",
Expand Down Expand Up @@ -113,9 +114,12 @@
"__NAME__": "name",
"__VERSION__": "version"
},
"setupFiles": [
"jest-canvas-mock"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test-utils/fileMock.js",
"\\.(css|less)$": "<rootDir>/test-utils/styleMock.js"
"\\.(css|less|html)$": "<rootDir>/test-utils/styleMock.js"
},
"transformIgnorePatterns": [
"node_modules/(?!(box-react-ui)/)"
Expand Down
7 changes: 0 additions & 7 deletions src/__tests__/AnnotationDialog-test.html

This file was deleted.

Loading

0 comments on commit daa0c28

Please sign in to comment.