diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-15 22:59:12 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-05-15 22:59:12 +0200 |
commit | 7ddedbe3317c5d1947e881a270092324c271bdab (patch) | |
tree | 04a850af073a25aa6a9e119b53112f4261d79d15 /frontend/build.gradle | |
parent | Add tests for lobby and game fields in Player (diff) | |
download | seven-wonders-7ddedbe3317c5d1947e881a270092324c271bdab.tar.gz seven-wonders-7ddedbe3317c5d1947e881a270092324c271bdab.tar.bz2 seven-wonders-7ddedbe3317c5d1947e881a270092324c271bdab.zip |
Remove frontend test watch for gradle build
The CI environment variable is the only to launch the frontend tests in non-interactive mode. This variable was already properly set on CI and heroku, but when running local gradle builds, the watch was still a problem, hence this new script for one-shot tests in package.json.
Diffstat (limited to 'frontend/build.gradle')
-rw-r--r-- | frontend/build.gradle | 4 |
1 files changed, 2 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) |