Enable react linting and move test file to .jsx instead of .js.

This commit is contained in:
picklesrus 2019-08-01 16:16:42 -04:00
parent 0e09e29c80
commit 98a25068d6
3 changed files with 6 additions and 6 deletions

View file

@ -140,7 +140,6 @@
"setupFiles": [
"<rootDir>/test/helpers/enzyme-setup.js"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "<rootDir>/test/__mocks__/styleMock.js"

View file

@ -1,4 +1,5 @@
module.exports = {
extends: ['scratch/react'],
env: {
jest: true
}