嗨,我尝试了很多方法来解决这个问题。 当我在使用ckeditor的地方运行测试文件时,测试失败并引发波纹管错误。
Test suite failed to run
D:\EMT_NEW_18_11_2019\node_modules\@ckeditor\ckeditor5-essentials\src\essentials.js:10
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
SyntaxError: Unexpected identifier at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/script_transformer.js:403:17)
能帮我吗?