Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 3aa9fe7

Browse files
sliekensznck
authored andcommitted
test: Properly encode testfixture imports (#254)
1 parent 27bc6f8 commit 3aa9fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/setup/plugins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function pluginCreateVueApp(filename: string, component: string): any {
4444
load(id) {
4545
if (id === filename)
4646
return `
47-
import Component from '${component}'
47+
import Component from ${JSON.stringify(component)}
4848
4949
Vue.config.productionTip = false
5050
Vue.config.devtools = false

0 commit comments

Comments
 (0)