Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Fix jest test chunking (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinGrandon authored Mar 11, 2019
1 parent 94338dc commit 6c78f02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .buildkite/nodeTests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
yarn test --testMatch=$(export JOB_COUNT=$BUILDKITE_PARALLEL_JOB_COUNT; export JOB_INDEX=$BUILDKITE_PARALLEL_JOB; node get-test-files.js) || exit 1
yarn test --testPathPattern=$(export JOB_COUNT=$BUILDKITE_PARALLEL_JOB_COUNT; export JOB_INDEX=$BUILDKITE_PARALLEL_JOB; node get-test-files.js) || exit 1
bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json -n node
2 changes: 1 addition & 1 deletion get-test-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ const files = getFiles();
* a new glob pattern which will match all of the
* selected files, exclusively.
*/
process.stdout.write(files.map(str => '**/' + str).join('|'));
process.stdout.write(files.map(str => '.*/' + str).join('|'));

0 comments on commit 6c78f02

Please sign in to comment.