Skip to content

Commit fe3d412

Browse files
committed
Fix missing React error in test file
Due to "moduleResolution": "bundler" tsconfig in this package
1 parent c0426b3 commit fe3d412

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/theme/src/test/theme-provider.test.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
*/
44
import { render } from '@testing-library/react';
55

6+
/**
7+
* WordPress dependencies
8+
*/
9+
import * as React from '@wordpress/element';
10+
611
/**
712
* Internal dependencies
813
*/

0 commit comments

Comments
 (0)