chaijs / chai

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
https://chaijs.github.io
MIT License
8.11k stars 694 forks source link

SyntaxError: Invalid or unexpected token #1572

Closed prashbattu closed 7 months ago

prashbattu commented 8 months ago

we are using "chai": "^4.2.0" . Since last couple of days we are seeing following errors. Looks like old version has been updated with the breaking change.

13:26:11 SyntaxError: Invalid or unexpected token 13:26:11 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) 13:26:12 npm ERR! Test failed. See above for more details.

43081j commented 7 months ago

i suspect this is the same problem as #1573

i know this issue was made first but let's track it in the other since i happen to have replied there already

i'll see if i can fix it meanwhile