Skip to content

Commit 9591169

Browse files
committed
chore: update snapshot
1 parent 70e9de3 commit 9591169

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

33
exports[`resolve type > runtime props > basic 1`] = `
4-
"import { createVNode as _createVNode } from \\"vue\\";
4+
"import { createVNode as _createVNode } from "vue";
55
interface Props {
66
foo?: string;
77
}
8-
const App = defineComponent((props: Props) => _createVNode(\\"div\\", null, null), {
8+
const App = defineComponent((props: Props) => _createVNode("div", null, null), {
99
props: {
1010
foo: {
1111
type: String,
1212
required: false
1313
}
1414
},
15-
name: \\"App\\"
15+
name: "App"
1616
});"
1717
`;

packages/babel-plugin-jsx/test/__snapshots__/snapshot.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const A = defineComponent({
189189
return () => _createVNode("span", null, [slots.default()]);
190190
}
191191
}, {
192-
name: \\"A\\"
192+
name: "A"
193193
});
194194
const _a2 = 2;
195195
a = _a2;

vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineConfig } from 'vitest/config';
22
import { babel } from '@rollup/plugin-babel';
3-
import Jsx from '@vue/babel-plugin-jsx';
3+
import Jsx from './packages/babel-plugin-jsx/src';
44

55
export default defineConfig({
66
resolve: {

0 commit comments

Comments
 (0)