SyntaxError: Cannot use import statement outside a module in Javascript/Jest

后端 未结 0 1043
你的背包
你的背包 2020-12-10 06:15

I\'m trying to run a test in jest. When I add my import:

import { AnimalFactory } from "../../AnimalFactory";

I get the following e

相关标签:
回答
  • 消灭零回复
提交回复
热议问题