Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhc committed Mar 13, 2024
1 parent 21a55ae commit 16251b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/transform.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe('transform tests', () => {
expect(hasExportDefault("export { sdk } from './sdk'")).toBe(false)
expect(hasExportDefault("export { foo, sdk } from './sdk'")).toBe(false)
expect(hasExportDefault("export { foo as baz, sdk } from './sdk'")).toBe(false)
expect(hasExportDefault("export { as default } from './sdk'")).toBe(false)
expect(hasExportDefault("export { sdkas default } from './sdk'")).toBe(false)
expect(hasExportDefault("export { default } from './sdk'")).toBe(true)
expect(hasExportDefault("export { sdkas, default } from './sdk'")).toBe(true)
})
})

0 comments on commit 16251b7

Please sign in to comment.