Skip to content

Commit

Permalink
Move jest config to root to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Feb 8, 2023
1 parent 6097395 commit 877daef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/jest.config.js → jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const testFileExtension = '[jt]s?(x)';
module.exports = {
rootDir: '..',
preset: 'react-native',
testMatch: [
`<rootDir>/tests/ui/**/*.${testFileExtension}`,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"ios-build": "fastlane ios build",
"android-build": "fastlane android build",
"android-build-e2e": "bundle exec fastlane android build_e2e",
"test": "jest --config='config/jest.config.js'",
"test": "jest",
"lint": "eslint . --max-warnings=0",
"lint-watch": "npx eslint-watch --watch --changed",
"shellcheck": "./scripts/shellCheck.sh",
Expand Down

0 comments on commit 877daef

Please sign in to comment.