Skip to content

Commit 31c0bb3

Browse files
committed
chore: fix snapshots
1 parent be6a0bf commit 31c0bb3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap

+7-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ return { n, x }
8080
exports[`SFC compile <script setup> <script> and <script setup> co-usage script setup first 1`] = `
8181
"export const n = 1
8282
const __default__ = {}
83-
import { x } from './x'
83+
84+
import { x } from './x'
8485

8586
export default /*#__PURE__*/Object.assign(__default__, {
8687
setup(__props, { expose }) {
@@ -100,7 +101,8 @@ exports[`SFC compile <script setup> <script> and <script setup> co-usage script
100101
const __default__ = {
101102
name: \\"test\\"
102103
}
103-
import { x } from './x'
104+
105+
import { x } from './x'
104106

105107
export default /*#__PURE__*/_defineComponent({
106108
...__default__,
@@ -121,6 +123,7 @@ exports[`SFC compile <script setup> <script> and <script setup> co-usage script
121123

122124

123125
const __default__ = def
126+
124127
import { x } from './x'
125128

126129
export default /*#__PURE__*/Object.assign(__default__, {
@@ -1250,7 +1253,8 @@ exports[`SFC compile <script setup> should expose top level declarations 1`] = `
12501253
const bb = 2
12511254
function cc() {}
12521255
class dd {}
1253-
import { x } from './x'
1256+
1257+
import { x } from './x'
12541258

12551259
export default {
12561260
setup(__props, { expose }) {

0 commit comments

Comments
 (0)