Skip to content

Commit 0620ee8

Browse files
committed
chore: update test
1 parent 0ffd1c6 commit 0620ee8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/macros/tests/__snapshots__/fixtures.spec.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,22 +204,22 @@ defineComponent((__MACROS_props) => {
204204

205205
exports[`fixtures > ./fixtures/define-expose.tsx 1`] = `
206206
"
207-
import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue";export function Comp(__MACROS_props) {
208-
;(__MACROS_getCurrentInstance(true).exposed = {
207+
import { getCurrentInstance as __MACROS_getCurrentInstance } from "vue-jsx-vapor";export function Comp(__MACROS_props) {
208+
;(__MACROS_getCurrentInstance().exposed = {
209209
foo: 1,
210210
})
211211
return <div />
212212
}
213213
214214
export const Comp1 = function (props: any) {
215-
;(__MACROS_getCurrentInstance(true).exposed = {
215+
;(__MACROS_getCurrentInstance().exposed = {
216216
foo: props.foo,
217217
})
218218
return <div />
219219
}
220220
221221
export const Comp2 = ({ foo, ...__MACROS_props }: any) => {
222-
;(__MACROS_getCurrentInstance(true).exposed = {
222+
;(__MACROS_getCurrentInstance().exposed = {
223223
foo,
224224
})
225225
return <div />

0 commit comments

Comments
 (0)