Skip to content

Commit 46fda62

Browse files
committed
Fix tests
1 parent 6371f06 commit 46fda62

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

package-lock.json

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"@babel/preset-env": "^7.14.7",
1313
"@babel/preset-react": "^7.14.5",
1414
"@babel/preset-typescript": "^7.14.5",
15+
"@babel/runtime": "^7.28.4",
1516
"@rollup/plugin-babel": "^6.0.2",
1617
"@rollup/plugin-commonjs": "^24.0.0",
1718
"@rollup/plugin-html": "^1.0.1",
@@ -30,7 +31,6 @@
3031
"eslint-plugin-prettier": "^5.5.4",
3132
"eslint-plugin-react": "^7.24.0",
3233
"eslint-plugin-react-hooks": "^4.2.0",
33-
"expect": "^29.2.1",
3434
"gh-pages": "^5.0.0",
3535
"jest": "^29.2.1",
3636
"jest-environment-jsdom": "^29.2.1",

src/index.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-env browser, mocha */
22

3-
import expect from 'expect';
3+
import { expect } from '@jest/globals';
44
import { createRoot, Root } from 'react-dom/client';
55
import matchMediaMock from 'match-media-mock';
66

0 commit comments

Comments
 (0)