more uncommitted changes...

This commit is contained in:
2020-01-22 12:00:47 +01:00
parent b1facb18de
commit 1518210ee6
3 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
set -e
node="node"
tsFlags="--strict"
yarn --silent tsc $tsFlags ./packages/babel-types/lib/index.d.ts
$node ./node_modules/typescript/bin/tsc $tsFlags ./packages/babel-types/lib/index.d.ts

View File

@@ -1,11 +1,10 @@
#!/bin/bash
set -e
node="yarn --silent node"
jestArgs="--coverage"
if [ -n "$CI" ]; then
jestArgs="${jestArgs} --maxWorkers=4 --ci"
fi
$node node_modules/.bin/jest $jestArgs
node_modules/.bin/jest $jestArgs

View File

@@ -1,11 +1,11 @@
#!/bin/bash
set -e
node="yarn --silent node"
node="node"
jestArgs=()
if [ "$TEST_DEBUG" ]; then
node="$node --inspect-brk"
node="node --inspect-brk"
jestArgs+=("--runInBand")
fi
@@ -23,4 +23,4 @@ if [ -n "$TEST_ONLY" ]; then
jestArgs+=("(packages|codemods|eslint)/.*$TEST_ONLY.*/test")
fi
$node node_modules/.bin/jest "${jestArgs[@]}"
$node node_modules/jest/bin/jest.js "${jestArgs[@]}"