Skip to content

Commit 1d62c92

Browse files
committed
fix(reactivity-transform): update snaps
1 parent 3d97408 commit 1d62c92

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/reactivity-transform/__tests__/__snapshots__/reactivityTransform.spec.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exports[`$$ with some edge cases 1`] = `
3838
count
3939
console.log(a)
4040
;(a,b)
41-
;(a,b)
41+
;(a++,b)
4242
count = ( a++ ,b)
4343
count = ()=>(a++,b)
4444
let r1 = _ref(a, (a++,b))

packages/reactivity-transform/src/reactivityTransform.ts

-1
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,6 @@ export function transformAST(
569569
) {
570570
const leading = firstArg.leadingComments?.at(0)!.start ?? Infinity
571571
const trailing = firstArg.trailingComments?.at(-1)!.end ?? 0
572-
console.log(leading, trailing)
573572
// fix space & comments place
574573
s.remove(
575574
node.start! + offset,

0 commit comments

Comments
 (0)