Skip to content

Commit

Permalink
Enable StrictMode in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Oct 24, 2022
1 parent 6e29540 commit 4558659
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import React from 'react';
import React, { StrictMode } from 'react';
import { render } from 'react-dom';

import Test from './Test';

render(<Test />, document.getElementById('react-root'));
render(
<StrictMode>
<Test />
</StrictMode>,
document.getElementById('react-root'),
);

0 comments on commit 4558659

Please sign in to comment.