Skip to content

Commit

Permalink
fix(compiler-sfc): updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c committed Sep 7, 2023
1 parent 93f707e commit d50eb1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/compiler-sfc/__tests__/compileScript.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ describe('SFC compile <script setup>', () => {
// check snapshot and make sure helper imports and
// hoists are placed correctly.
assertCode(content)
// in inline mode, no need to call expose() since nothing is exposed
// anyway!
expect(content).not.toMatch(`expose()`)

})

test('with defineExpose()', () => {
Expand Down

0 comments on commit d50eb1a

Please sign in to comment.