chore: remove outdated test case

This commit is contained in:
Evan You 2021-12-10 15:35:20 +08:00
parent 9823bd95d1
commit 4b5d1ac894

View File

@ -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`