Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
chore: add todo reminder
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Mar 18, 2022
1 parent 2d13a1a commit 6472401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const expect: typeof expectPatched = instrument(
{ intercept: (_method, path) => path[0] !== 'expect' }
).expect;

// @TODO: This should be reverted once https://github.com/testing-library/jest-dom/pull/438 is merged
// Some bundlers include an undefined `default` in the namespace import,
// or __esmodule (a boolean) which cause expect.extend to throw.
const validMatchers = { ...matchers };
Expand Down

2 comments on commit 6472401

@mikestu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fyi - I happened across your TODO notice, went to that link, and it appears to have been merged in to testing-library now.

@IanVS
Copy link
Member

@IanVS IanVS commented on 6472401 Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately it hasn't been released yet. :(

Please sign in to comment.