diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 67f4470..a1c659e 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
- node-version: [16.x]
+ node-version: [20.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
diff --git a/package.json b/package.json
index d191573..8659339 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
},
"private": true,
"engines": {
- "node": ">=0.16"
+ "node": ">=0.20"
},
"jest": {
"preset": "jest-expo",
diff --git a/src/screens/__tests__/HistoryScreen.test.js b/src/screens/__tests__/HistoryScreen.test.js
index f3b6ee4..9b94bfc 100644
--- a/src/screens/__tests__/HistoryScreen.test.js
+++ b/src/screens/__tests__/HistoryScreen.test.js
@@ -5,7 +5,7 @@ import HistoryScreen from '../HistoryScreen';
describe('', () => {
it('renders correctly', async () => {
- const { toJSON } = await waitFor(() => render());
+ const { toJSON } = render();
await waitFor(() => expect(toJSON()).toMatchSnapshot());
});