jeudi 24 décembre 2020

:class Unexpected token issue in testcafe in vue app

I am trying to run test integration in Vue app and I am importing component in components.test.js but it gives an Unexpected token error

components.test.js

import flushPromises from "flush-promises";
import {Selector} from "testcafe";
import sample_vue from "../src/components/sample-vue.vue";

enter image description here

anyone can suggest?

Aucun commentaire:

Enregistrer un commentaire