Skip to content

Commit

Permalink
fix: incorrect default import from @testing-library/dom (#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanjtc authored Sep 15, 2023
1 parent 4be87b3 commit d7483f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions src/_interop/dtl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
import * as named from '@testing-library/dom'

import def, * as named from '@testing-library/dom'

export default def ?? named
export default named
6 changes: 2 additions & 4 deletions src/_interop/dtlEventMap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
import * as named from '@testing-library/dom/dist/event-map.js'

import def, * as named from '@testing-library/dom/dist/event-map.js'

export default def ?? named
export default named
6 changes: 2 additions & 4 deletions src/_interop/dtlHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
import * as named from '@testing-library/dom/dist/helpers.js'

import def, * as named from '@testing-library/dom/dist/helpers.js'

export default def ?? named
export default named

0 comments on commit d7483f0

Please sign in to comment.