Open
Description
Running tests via npm t
hits a regeneratorRuntime is not defined
error. Not sure if we need to change how node_modules
are processed or somehow tell Babel to just keep the generator functions as-is.
FAIL src/index.test.ts
● Test suite failed to run
ReferenceError: regeneratorRuntime is not defined
> 1 | import { has, optional, parse as parseWith, ParseGenerator, ParseYieldable } from 'parcook';
| ^
2 |
3 | const whitespaceOptional = /^\s*/;
4 |
at Object.<anonymous> (node_modules/parcook/src/index.ts:141:18)
at Object.<anonymous> (src/index.ts:1:1)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.705 s
Ran all test suites.