Skip to content

Commit 1f820bf

Browse files
committed
Update devDependencies
1 parent 2462338 commit 1f820bf

File tree

4 files changed

+1459
-1637
lines changed

4 files changed

+1459
-1637
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ module.exports = {
1111
coverageThreshold: {
1212
global: {branches: 100, functions: 100, statements: 100},
1313
},
14+
modulePathIgnorePatterns: ['esm'],
1415
};

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,34 +32,34 @@
3232
}
3333
},
3434
"resolutions": {
35-
"@types/jest": "^27.0.3",
36-
"@types/react": "^17.0.37",
37-
"@types/react-native": "^0.64.13"
35+
"@types/jest": "^28.1.6",
36+
"@types/react": "^18.0.15",
37+
"@types/react-native": "^0.69.3"
3838
},
3939
"devDependencies": {
4040
"@size-limit/preset-app": "^7.0.8",
41-
"@testing-library/react-hooks": "^8.0.0",
42-
"@testing-library/react-native": "^9.1.0",
43-
"@tsconfig/react-native": "^1.0.4",
44-
"@types/jest": "^28.1.1",
45-
"@types/react": "^17.0.45",
46-
"@types/react-native": "^0.67.8",
41+
"@testing-library/react-hooks": "^8.0.1",
42+
"@testing-library/react-native": "^10.1.1",
43+
"@tsconfig/react-native": "^2.0.2",
44+
"@types/jest": "^28.1.6",
45+
"@types/react": "^18.0.15",
46+
"@types/react-native": "^0.69.3",
4747
"@types/react-test-renderer": "^18.0.0",
48-
"@typescript-eslint/eslint-plugin": "^5.27.0",
49-
"@typescript-eslint/parser": "^5.27.0",
48+
"@typescript-eslint/eslint-plugin": "^5.30.7",
49+
"@typescript-eslint/parser": "^5.30.7",
5050
"doctoc": "^2.2.0",
51-
"eslint": "^8.17.0",
51+
"eslint": "^8.20.0",
5252
"eslint-config-prettier": "^8.5.0",
53-
"eslint-plugin-prettier": "^4.0.0",
54-
"eslint-plugin-react": "^7.30.0",
55-
"jest": "^28.1.0",
56-
"prettier": "^2.6.2",
57-
"react": "^17.0.2",
58-
"react-native": "^0.68.2",
59-
"react-native-test-app": "^1.3.8",
60-
"react-test-renderer": "^17.0.2",
53+
"eslint-plugin-prettier": "^4.2.1",
54+
"eslint-plugin-react": "^7.30.1",
55+
"jest": "^28.1.3",
56+
"prettier": "^2.7.1",
57+
"react": "^18.2.0",
58+
"react-native": "^0.69.2",
59+
"react-native-test-app": "^1.5.0",
60+
"react-test-renderer": "^18.2.0",
6161
"size-limit": "^7.0.8",
62-
"typescript": "^4.7.3"
62+
"typescript": "^4.7.4"
6363
},
6464
"author": "David <[email protected]>",
6565
"description": "A react-native component to input confirmation code for both Android and IOS",

src/__tests__/Cursor.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ it('should hide cursor after timeout', async () => {
2828

2929
await delay(timeout + 50);
3030

31-
expect(UNSAFE_getByType(Cursor).children).toEqual(['']);
31+
expect(UNSAFE_getByType(Cursor).children).toEqual([]);
3232
});
33+

0 commit comments

Comments
 (0)