Skip to content

Commit 9be19f0

Browse files
committed
test: fix tsx import
1 parent 5cf0e13 commit 9be19f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-unit-jest/__tests__/jestPlugin.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ test('should work with tsx', async () => {
100100

101101
await write('tests/unit/example.spec.ts', `
102102
import { shallowMount } from '@vue/test-utils'
103-
import MyComponent from '@/components/HelloWorld.tsx'
103+
import MyComponent from '@/components/HelloWorld'
104104
105105
describe('HelloWorld.tsx', () => {
106106
it('renders props.msg when passed', () => {

0 commit comments

Comments
 (0)