Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ItsOnlyBinary/7d04492a611d89dfe4318f36d3da7016 to your computer and use it in GitHub Desktop.
Save ItsOnlyBinary/7d04492a611d89dfe4318f36d3da7016 to your computer and use it in GitHub Desktop.
yarn run v1.22.4
$ vue-cli-service test:unit
PASS tests/unit/MessageParser.spec.js (7.09s)
PASS tests/unit/Misc.spec.js (7.079s)
PASS tests/unit/StartupError.spec.js
FAIL tests/unit/BatchAdd.spec.js (13.875s)
● batchedAdd.vue › should process 102 single items, then a batch of 3
: Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Error:
49 | });
50 |
> 51 | it('should process 102 single items, then a batch of 3', (done) => {
| ^
52 | let singleCount = 0;
53 | let singleItem = () => {
54 | singleCount++;
at new Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
at Suite.<anonymous> (tests/unit/BatchAdd.spec.js:51:5)
at Object.<anonymous> (tests/unit/BatchAdd.spec.js:3:1)
=============================== Coverage summary ===============================
Statements : 19.56% ( 474/2423 )
Branches : 8.4% ( 120/1429 )
Functions : 18.73% ( 71/379 )
Lines : 19.68% ( 468/2378 )
================================================================================
Test Suites: 1 failed, 3 passed, 4 total
Tests: 1 failed, 15 passed, 16 total
Snapshots: 0 total
Time: 18.045s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment