Skip to content

Commit 1902d9c

Browse files
dunglasyyx990803
authored andcommitted
chore: fix the name of the tested file (#775)
* Jest template: fix the name of the tested file (Hello.vue instead of HelloWorld.vue) * Jest template: fix the name of the tested file
1 parent 2e81a3a commit 1902d9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@vue/cli-plugin-unit-jest/generator/template/test/unit/HelloWorld.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { shallow } from '@vue/test-utils'
22
import HelloWorld from '@/components/HelloWorld.vue'
33

4-
describe('Hello.vue', () => {
4+
describe('HelloWorld.vue', () => {
55
it('renders props.msg when passed', () => {
66
const msg = 'new message'
77
const wrapper = shallow(HelloWorld, {

packages/@vue/cli-plugin-unit-mocha/generator/template/test/unit/HelloWorld.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect } from 'chai'
22
import { shallow } from '@vue/test-utils'
33
import HelloWorld from '@/components/HelloWorld.vue'
44

5-
describe('Hello.vue', () => {
5+
describe('HelloWorld.vue', () => {
66
it('renders props.msg when passed', () => {
77
const msg = 'new message'
88
const wrapper = shallow(HelloWorld, {

0 commit comments

Comments
 (0)