-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use Bash shell * Run watch mode test separately and serially
- Loading branch information
1 parent
6c143a2
commit 31f0bcf
Showing
5 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
TEST_AVA_SKIP_WATCH_MODE=1 npx c8 --report=none npx test-ava | ||
# Reduce concurrency and be generous with timeouts to give watch mode tests a | ||
# better chance of succeeding in a CI environment. | ||
npx c8 --report=none --no-clean npx test-ava --serial --timeout 30s test/watch-mode | ||
npx c8 --report=none --no-clean npx tap | ||
npx c8 report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
npx xo | ||
npx tsc --noEmit | ||
npx c8 --report=none npx test-ava | ||
npx c8 --report=none --no-clean npx tap | ||
npx c8 report |