Skip to content

Commit

Permalink
test: fix tsx import
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Feb 17, 2022
1 parent 5cf0e13 commit 9be19f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ test('should work with tsx', async () => {

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

0 comments on commit 9be19f0

Please sign in to comment.