dperini / nwsapi

Fast CSS Selectors API Engine
MIT License
103 stars 35 forks source link

SyntaxError: Illegal break statement #91

Closed dep closed 1 year ago

dep commented 1 year ago

I've started getting the following error in my monorepository over the weekend:

> npx jest --coverage
 FAIL  src/components/App.test.js
  ● renders the App component
    SyntaxError: Illegal break statement
        at Function (<anonymous>)

      at compile (node_modules/jest-environment-jsdom/node_modules/nwsapi/src/nwsapi.js:760:17)

Any help is appreciated!

NataliaKravcheniaTR commented 1 year ago

@dep see https://github.com/dperini/nwsapi/issues/90

dep commented 1 year ago

@NataliaKravcheniaTR Thank you!

dep commented 1 year ago

Resolution https://github.com/dperini/nwsapi/issues/90#issuecomment-1623293796