Skip to content

Commit

Permalink
JSAEM 2-28 feat: add basic snapshot test (#13)
Browse files Browse the repository at this point in the history
* JSAEM 2-28 feat: add basic snapshot test

* JSAEM2-28 fixed: enable jest in eslintrc without ignore test files

* JSAEM2-28 fixed: load the font before snapshot test

* JSAEM 2-28 style: remove the __test__ folder

* JSAEM 2-28 feat: add basic snapshot test

* JSAEM2-28 fixed: enable jest in eslintrc without ignore test files

* JSAEM2-28 fixed: load the font before snapshot test

* JSAEM 2-28 style: remove the __test__ folder

* JSAEM 2-28 feat: add npm test in CI

* JSAEM 2-28 feat: add basic snapshot test

* JSAEM 2-28 feat: add basic snapshot test

* JSAEM2-28 fixed: enable jest in eslintrc without ignore test files

* JSAEM2-28 fixed: enable jest in eslintrc without ignore test files

* JSAEM2-28 fixed: load the font before snapshot test

* JSAEM2-28 fixed: load the font before snapshot test

* JSAEM 2-28 style: remove the __test__ folder

* JSAEM 2-28 style: remove the __test__ folder

* JSAEM 2-28 feat: add npm test in CI

* JSAEM 2-28 fixed: add jest overrides to test files only

* JSAEM2-28 fixed: merge issue

* JSAEM2-28 update the package-lock file
  • Loading branch information
MichaelCTH authored and ikarasz committed Dec 19, 2019
1 parent 12f2245 commit b74bd2f
Show file tree
Hide file tree
Showing 6 changed files with 8,405 additions and 3,025 deletions.
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@
"sourceType": "module"
},
"plugins": ["react"],
"rules": {}
"rules": {},
"overrides": [
{
"files":["**/*.test.js","**/*.test.jsx"],
"env": { "jest": true }
}
]
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ before_install:
- npm install
script:
- npm run lint
- npm run test
Loading

0 comments on commit b74bd2f

Please sign in to comment.