-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
After updating to 2.8.0, we are facing the following issue in Jest unit testing
SyntaxError: Unexpected token 'export'. node_modules/@reduxjs/toolkit/dist/redux-toolkit.browser.mjs:1
Jest encountered an unexpected token
Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.
Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.
alexfedorchuk, ska-kialo, educastellano, billycalladine, asapach and 1 more
Metadata
Metadata
Assignees
Labels
No labels