You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I'm running into a SyntaxError: Cannot use import statement outside a module error when trying to run my vue 2 / jest unit tests. I added this to my jest.config but still getting the error. Seems like the ckeditor is trying to import code internally that isn't getting caught by the jest transpiling.
import { Editor, DataApiMixin, ElementApiMixin, attachToForm } from 'ckeditor5/src/core';
Hello I'm running into a
SyntaxError: Cannot use import statement outside a module
error when trying to run my vue 2 / jest unit tests. I added this to my jest.config but still getting the error. Seems like the ckeditor is trying to import code internally that isn't getting caught by the jest transpiling.import { Editor, DataApiMixin, ElementApiMixin, attachToForm } from 'ckeditor5/src/core';
transformIgnorePatterns: [ '\\\\/node_modules\\\\/(?!@ckeditor).+\\.(js|jsx|ts|tsx|vue)$'],
The text was updated successfully, but these errors were encountered: