Skip to content

Commit

Permalink
test: add unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
vaakian committed Jan 31, 2023
1 parent bf1168c commit 28be673
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ return { get FooBaz() { return FooBaz }, get Last() { return Last } }

exports[`SFC compile <script setup> > dev mode import usage check > template ref 1`] = `
"import { defineComponent as _defineComponent } from 'vue'
import { foo, bar, Baz } from './foo'
import { foo, bar, Baz, qux } from './foo'

export default /*#__PURE__*/_defineComponent({
setup(__props, { expose }) {
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-sfc/__tests__/compileScript.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ defineExpose({ foo: 123 })
test('template ref', () => {
const { content } = compile(`
<script setup lang="ts">
import { foo, bar, Baz } from './foo'
import { foo, bar, Baz, qux } from './foo'
</script>
<template>
<div ref="foo"></div>
Expand Down

0 comments on commit 28be673

Please sign in to comment.