mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-03 21:40:28 -05:00
17c9ded463
* clean up server test commands this mostly restores the pre-yarn behavior: - passing a file path to a test command runs that file, not all tests - there is only one test-watch - there is a "test" command which accepts a pathx * allow run.js to specify multiple specfiles * simplify e2e test setup by using globbing * fix e2e test that has been broken for eternity * still let users use `test-e2e --spec` syntax * update server README
11 lines
171 B
Bash
Executable File
11 lines
171 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
CMD="$1"
|
|
ARGS="$2"
|
|
|
|
npm run --silent $CMD $ARGS & \
|
|
chokidar 'test/**/*' 'lib/**/*' \
|
|
-c "yarn --silent $CMD $ARGS" \
|
|
--polling \
|
|
--poll-interval=250
|