Skip to content

Cypress full update #5877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Cypress full update #5877

wants to merge 3 commits into from

Conversation

gustawdaniel
Copy link

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Docs
  • Underlying tools
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Other information:

@gustawdaniel
Copy link
Author

gustawdaniel commented Sep 11, 2020

There is error:

registry.
 ERROR  command failed: yarn --silent --no-progress
FAIL packages/@vue/cli-plugin-unit-jest/__tests__/jestPlugin.spec.js (85.15s)
  ● should work with Vue 3
    Command failed: C:\projects\vue-cli\packages\@vue\cli-service\bin\vue-cli-service.js test:unit
    FAIL tests/unit/example.spec.js
      ● Test suite failed to run
        Cannot find module '@vue/test-utils' from 'example.spec.js'
        > 1 | import { shallowMount } from '@vue/test-utils'
            | ^
          2 | import HelloWorld from '@/components/HelloWorld.vue'
          3 | 
          4 | describe('HelloWorld.vue', () => {
      at Resolver.resolveModule (../../vue-cli/node_modules/jest-resolve/build/index.js:259:17)
      at Object.<anonymous> (tests/unit/example.spec.js:1:1)
      Test Suites: 1 failed, 1 total
      Tests:       0 total
      Snapshots:   0 total
      Time:        2.708s
      Ran all test suites.
      at makeError (node_modules/execa/index.js:174:9)
      at Promise.all.then.arr (node_modules/execa/index.js:278:16)

I do not have windows to reproduce and do not know Vue 3 yet. Can anyone help to fix it or explain what is wrong with this update?

https://ci.appveyor.com/project/yyx990803/vue-cli/builds/35156027

@haoqunjiang
Copy link
Member

Landed in the next branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants