chore: remove stale references of ref-transform
This commit is contained in:
@@ -310,7 +310,7 @@ defineExpose({ foo: 123 })
|
||||
let foo = $ref(1)
|
||||
</script>
|
||||
`,
|
||||
{ refTransform: true }
|
||||
{ reactivityTransform: true }
|
||||
)
|
||||
assertCode(content)
|
||||
expect(content).toMatch(`import { ref } from 'vue'`)
|
||||
@@ -1108,7 +1108,7 @@ const emit = defineEmits(['a', 'b'])
|
||||
describe('async/await detection', () => {
|
||||
function assertAwaitDetection(code: string, shouldAsync = true) {
|
||||
const { content } = compile(`<script setup>${code}</script>`, {
|
||||
refTransform: true
|
||||
reactivityTransform: true
|
||||
})
|
||||
if (shouldAsync) {
|
||||
expect(content).toMatch(`let __temp, __restore`)
|
||||
|
||||
Reference in New Issue
Block a user