We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed56a2 commit d403481Copy full SHA for d403481
src/matchers/utils.ts
@@ -1,4 +1,5 @@
1
-import { ReactTestInstance, ReactTestRendererJSON } from 'react-test-renderer';
+import { ElementType } from 'react';
2
+import { ReactTestInstance } from 'react-test-renderer';
3
import {
4
EXPECTED_COLOR,
5
RECEIVED_COLOR,
@@ -11,7 +12,6 @@ import prettyFormat, { plugins } from 'pretty-format';
11
12
import redent from 'redent';
13
import { isHostElement } from '../helpers/component-tree';
14
import { defaultMapProps } from '../helpers/format-default';
-import { ElementType } from 'react';
15
16
class HostElementTypeError extends Error {
17
constructor(received: unknown, matcherFn: jest.CustomMatcher, context: jest.MatcherContext) {
0 commit comments