Last active
May 8, 2019 17:02
-
-
Save marchermans/b6e5ec3306d863039a12dd77ee24eb5b to your computer and use it in GitHub Desktop.
Syntax error on running unit tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test suite failed to run | |
/home/marc/Projects/ts-linq-core/src/queryable/List.ts:37 | |
for await (const e of this) { | |
^^^^^ | |
SyntaxError: Unexpected reserved word | |
> 1 | import { List } from '../../src/queryable/List'; | |
| ^ | |
2 | import { AsyncIteratorUtils } from '../../src/util/AsyncIteratorUtils'; | |
3 | | |
4 | it('Arrays should be equal.', async () => { | |
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:471:17) | |
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:513:25) | |
at Object.<anonymous> (tests/sourced/ArraySourcedQueryable.spec.ts:1:1) | |
Test Suites: 1 failed, 1 total | |
Tests: 0 total | |
Snapshots: 0 total | |
Time: 1.246s | |
Ran all test suites. | |
npm ERR! Test failed. See above for more details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment