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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy