Skip to content

Commit 4b5d1ac

Browse files
committed
chore: remove outdated test case
1 parent 9823bd9 commit 4b5d1ac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/ref-transform/__tests__/refTransform.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,6 @@ test('handle TS casting syntax', () => {
364364
})
365365

366366
describe('errors', () => {
367-
test('non-let $ref declaration', () => {
368-
expect(() => transform(`const a = $ref(1)`)).toThrow(
369-
`$ref() bindings can only be declared with let`
370-
)
371-
})
372-
373367
test('$ref w/ destructure', () => {
374368
expect(() => transform(`let { a } = $ref(1)`)).toThrow(
375369
`cannot be used with destructure`

0 commit comments

Comments
 (0)