Skip to content

Commit

Permalink
Fix lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjerleke committed Oct 8, 2023
1 parent ce41e29 commit a193f48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/embla-carousel/src/__tests__/constructor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ describe('➡️ EmblaCarousel', () => {

describe('Does TRHOW when initialized and', () => {
test('The root node parameter is omitted', () => {
// @ts-ignore
expect(() => EmblaCarousel()).toThrow()
expect(() => EmblaCarousel(undefined as any)).toThrow()
})

test('The container node is omitted', () => {
Expand Down

0 comments on commit a193f48

Please sign in to comment.