mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
Support spaces in GREP_TESTS values (#535)
Not only GREP_TESTS can be assigned a single word like: GREP_TESTS=DocApi yarn test But also can be assigned a whole sentence part: GREP_TESTS="supports ascending sort" yarn test That's especially useful to run a single test (and not a whole test suit) Co-authored-by: Florent FAYOLLE <florent.fayolle@beta.gouv.fr>
This commit is contained in:
@@ -64,4 +64,4 @@ TEST_ADD_SAMPLES=1 TEST_ACCOUNT_PASSWORD=not-needed \
|
||||
GRIST_SESSION_COOKIE=grist_test_cookie \
|
||||
GRIST_TEST_LOGIN=1 \
|
||||
NODE_PATH=_build:_build/stubs \
|
||||
$MOCHA _build/test/deployment/*.js --slow 6000 -g ${GREP_TESTS:-''} "$@"
|
||||
$MOCHA _build/test/deployment/*.js --slow 6000 -g "${GREP_TESTS}" "$@"
|
||||
|
||||
Reference in New Issue
Block a user