Skip to content

create project fail by vue ui #2554

@BingKui

Description

@BingKui

Version

3.0.3

Node and OS info

Node 10.10.0 / NPM 6.4.1/ MacOS 10.13.6

Steps to reproduce

Create Project

  • select all feature, next step
  • use class-style, use babel, use history mode for router
  • select less, select ESLint Airbnb config, lint on save & lint and fix on commit
  • unit test select Jest
  • E2E test select Cypress
  • click create project button

What is expected?

project created success

What is actually happening?

Running completion hooks...error: '@vue/test-utils' should be listed in the project's dependencies, not devDependencies (import/no-extraneous-dependencies) at vueDemo/tests/unit/example.spec.ts:1:1:

1 | import { shallowMount } from '@vue/test-utils';
| ^
2 | import HelloWorld from '@/components/HelloWorld.vue';
3 |
4 | describe('HelloWorld.vue', () => {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions