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 committed 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
@@ -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
@@ -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
@@ -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.