Skip to content

Commit 4a958d5

Browse files
committed
fixing deploy error
1 parent 9828b57 commit 4a958d5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/App.test.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import { render } from '@testing-library/react'
22
import React from 'react'
33
import App from './App'
44

5-
test('renders learn react link', () => {
6-
render(<App />)
7-
})
85
// Add this before your tests run
96
Object.defineProperty(window, 'matchMedia', {
107
writable: true,
@@ -18,4 +15,8 @@ Object.defineProperty(window, 'matchMedia', {
1815
removeEventListener: jest.fn(),
1916
dispatchEvent: jest.fn(),
2017
})),
21-
});
18+
});
19+
20+
test('renders learn react link', () => {
21+
render(<App />)
22+
})

0 commit comments

Comments
 (0)