Skip to content

Commit

Permalink
feat(package): add script for jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecColas committed Jul 24, 2023
1 parent 08880d5 commit 083794e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
"@typescript-eslint/typescript-estree": "5.61.0"
},
"scripts": {
"start:example": "yarn workspace RabbitApp start",
"test:core": "yarn workspace react-native-tv-spatial-navigation jest",
"test:types": "yarn workspaces foreach run test:types",
"test:lint": "eslint . --ext .js,.jsx,.ts,.tsx --report-unused-disable-directives --max-warnings 0 --cache --cache-strategy content --cache-location .cache/eslint.json",
"build:core": "yarn workspace react-native-tv-spatial-navigation build",
"start:example": "yarn workspace RabbitApp start"
"build:core": "yarn workspace react-native-tv-spatial-navigation build"
}
}
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"webpack-dev-server": "^4.15.1"
},
"scripts": {
"test": "jest",
"test:types": "tsc",
"build": "webpack --config webpack.config.js"
}
Expand Down

0 comments on commit 083794e

Please sign in to comment.