We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee772f1 commit 2a60951Copy full SHA for 2a60951
example/above/src/App.test.tsx
@@ -14,8 +14,14 @@ test('renders component from near src', () => {
14
expect(nearElement).toBeInTheDocument();
15
});
16
17
-test('renders component from above root', () => {
+test('renders JS component from above root', () => {
18
render(<App />);
19
const aboveElement = screen.getByText(/Above root js/i);
20
expect(aboveElement).toBeInTheDocument();
21
22
+
23
+test('renders TS component from above root', () => {
24
+ render(<App />);
25
+ const aboveElement = screen.getByText(/Above root ts/i);
26
+ expect(aboveElement).toBeInTheDocument();
27
+});
0 commit comments