Skip to content

Commit

Permalink
Merge branch 'default' into dependabot/github_actions/crazy-max/ghact…
Browse files Browse the repository at this point in the history
…ion-github-pages-4
  • Loading branch information
goto-bus-stop authored Apr 26, 2024
2 parents dfd2abb + d7917af commit 71464d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: Tests
strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
node-version: [16.x, 18.x, 20.x]
react-version: [17.x, 18.x]
include:
- node-version: 12.x
Expand Down
1 change: 1 addition & 0 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,5 @@ function App() {
);
}

// eslint-disable-next-line react/no-deprecated
ReactDOM.render(<App />, document.getElementById('example'));
2 changes: 2 additions & 0 deletions test/util/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const render = (initialProps) => {

const div = env.document.createElement('div');
const container = new Promise((resolve) => {
// eslint-disable-next-line react/no-deprecated
ReactDOM.render(<Container {...initialProps} ref={resolve} />, div);
});

Expand All @@ -48,6 +49,7 @@ const render = (initialProps) => {
}

function unmount() {
// eslint-disable-next-line react/no-deprecated
ReactDOM.unmountComponentAtNode(div);
}

Expand Down

0 comments on commit 71464d1

Please sign in to comment.