Skip to content

Commit

Permalink
馃獰 馃悰 Fix jest tests to fail build correctly (#21408)
Browse files Browse the repository at this point in the history
* Fix jest tests to fail build correctly

* Add failing test for demo

* Update StatusCell.test.tsx
  • Loading branch information
timroes committed Jan 13, 2023
1 parent 38f7f69 commit 1502ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-webapp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ npm_run_build {
task test(type: NpmTask) {
dependsOn assemble

args = ['run', 'test', '--', '--watchAll=false', '--silent']
args = ['run', 'test:ci']
inputs.files commonConfigs
inputs.dir 'src'
}
Expand Down
1 change: 1 addition & 0 deletions airbyte-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "BUILD_PATH='./build/app' craco build",
"pretest": "npm run generate-client",
"test": "jest --watch",
"test:ci": "jest --watchAll=false --silent",
"test:coverage": "jest --coverage --watchAll=false",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"storybook": "start-storybook -p 9009 --quiet",
Expand Down

0 comments on commit 1502ef4

Please sign in to comment.