Skip to content

Commit

Permalink
Taking 2 seconds is pretty reasonable for our tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinbrown committed Apr 16, 2019
1 parent ba7702d commit 5c0840b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export const runTests = async () => {
mocha.addFile(path.join(workingDirectory, testFile));
}

// Our tests are more like integration tests than unit tests. Taking two seconds is
// pretty reasonable in our case.
mocha.slow(2000);

// Run the tests.
await new Promise((resolve, reject) =>
mocha.run(failures => {
Expand Down

0 comments on commit 5c0840b

Please sign in to comment.