Hello,
I am trying to use meteor-jest-stubs with my simple test but I am getting a Unexpected token {error. What am I doing wrong? Would you have a sample demo where we have used meteor-jest-stubs?
StackTrace:
import { check } from 'meteor/check';
^
SyntaxError: Unexpected token {
at ScriptTransformer._transformAndBuildScript (node_modules/@jest/transform/build/ScriptTransformer.js:537:17)
at ScriptTransformer.transform (node_modules/@jest/transform/build/ScriptTransformer.js:579:25)
Hello, I am trying to use meteor-jest-stubs with my simple test but I am getting a
Unexpected token {
error. What am I doing wrong? Would you have a sample demo where we have used meteor-jest-stubs?StackTrace:
~\src\imports\server\domainsService.test.js
~\src\imports\server\domainsService.js
~\src\imports\api\collections.js
package.json:
~\jest.config.js: