Skip to content

Commit

Permalink
chore: remove outdated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 10, 2021
1 parent 9823bd9 commit 4b5d1ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/ref-transform/__tests__/refTransform.spec.ts
Expand Up @@ -364,12 +364,6 @@ test('handle TS casting syntax', () => {
})

describe('errors', () => {
test('non-let $ref declaration', () => {
expect(() => transform(`const a = $ref(1)`)).toThrow(
`$ref() bindings can only be declared with let`
)
})

test('$ref w/ destructure', () => {
expect(() => transform(`let { a } = $ref(1)`)).toThrow(
`cannot be used with destructure`
Expand Down

0 comments on commit 4b5d1ac

Please sign in to comment.