You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the @clr/core dependency of @clr/angular was introduced in 3.0, Jest is now throwing a syntax error coming from the new package.
Original issue filed at: vmware-archive/clarity#4196
node_modules\@clr\core\fesm2015\clr-core.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import { __decorate, __metadata, __awaiter } from 'tslib';
^
SyntaxError: Unexpected token {
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 node_modules/@clr/angular/bundles/clr-angular.umd.js:2:156
at Object.<anonymous> (node_modules/@clr/angular/bundles/clr-angular.umd.js:5:2)
Test Suites: 2 failed, 4 passed, 6 total
Tests: 16 passed, 16 total
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
After the @clr/core dependency of @clr/angular was introduced in 3.0, Jest is now throwing a syntax error coming from the new package.
Original issue filed at: vmware-archive/clarity#4196
To Reproduce
Clone this repo: https://github.com/whizkidwwe1217/jest-test
Run
npm install
, thennpm test
.Expected behavior
Link to repl or repo (highly encouraged)
envinfo
The text was updated successfully, but these errors were encountered: