JessicaSachs / vue-cli-plugin-cypress-experimental

Experimental Cypress plugin for Vue CLI
7 stars 2 forks source link

Invalid plugin file #1

Closed mornir closed 4 years ago

mornir commented 4 years ago

Hi! First thank you for your work on cypress-vue-unit-test 😀 I think that there's a big potential in using Cypress for components integration tests.

On a fresh install, I get this error when I run yarn test:components image

When disabling plugins, Cypress runs fine.

JessicaSachs commented 4 years ago

You are correct! I'm pushing a fix momentarily.

JessicaSachs commented 4 years ago

Fixed in v0.0.4 of the plugin. This is what you should see on the first run of

npm run test:components

Screen Shot 2020-04-30 at 7 21 35 PM

mornir commented 4 years ago

Awesome! 🙌

mornir commented 4 years ago

Ah, it was a syntax error because of the mix usage of ESM imports? I actually tried to fix it by replacing module.exports with export default... wrong way around 😅

JessicaSachs commented 4 years ago

Yeah, when I was developing locally I was running with a different babel configuration so it was working. This is why I'm working on #3