diff options
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/build.gradle | 4 | ||||
-rw-r--r-- | frontend/package.json | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/frontend/build.gradle b/frontend/build.gradle index b5068c0a..f69adac9 100644 --- a/frontend/build.gradle +++ b/frontend/build.gradle @@ -25,9 +25,9 @@ task start(type: YarnTask) { } task test(type: YarnTask) { - args = ['test'] + args = ['test:oneshot'] } check.dependsOn(test) bundle.dependsOn(yarn_install) -assemble.dependsOn(bundle)
\ No newline at end of file +assemble.dependsOn(bundle) diff --git a/frontend/package.json b/frontend/package.json index 57e7e295..da3260e8 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -28,6 +28,7 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", + "test:oneshot": "set CI=true && react-scripts test --env=jsdom", "eject": "react-scripts eject" }, "eslintConfig": { |