Skip to content

Commit a741630

Browse files
committed
RC 0
1 parent c47220b commit a741630

File tree

3 files changed

+593
-681
lines changed

3 files changed

+593
-681
lines changed

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
"@babel/preset-react": "^7.25.9",
7373
"@babel/preset-typescript": "^7.26.0",
7474
"@callstack/eslint-config": "^15.0.0",
75-
"@react-native/babel-preset": "0.77.0",
75+
"@react-native/babel-preset": "0.78.0-rc.3",
7676
"@release-it/conventional-changelog": "^10.0.0",
7777
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
7878
"@types/jest": "^29.5.14",
79-
"@types/react": "^18.3.12",
80-
"@types/react-test-renderer": "^18.3.0",
79+
"@types/react": "^19.0.0",
80+
"@types/react-test-renderer": "^19.0.0",
8181
"babel-jest": "^29.7.0",
8282
"babel-plugin-module-resolver": "^5.0.2",
8383
"del-cli": "^6.0.0",
@@ -86,9 +86,9 @@
8686
"flow-bin": "~0.170.0",
8787
"jest": "^29.7.0",
8888
"prettier": "^2.8.8",
89-
"react": "18.3.1",
90-
"react-native": "0.77.0",
91-
"react-test-renderer": "18.3.1",
89+
"react": "^19.0.0",
90+
"react-native": "0.78.0-rc.3",
91+
"react-test-renderer": "^19.0.0",
9292
"release-it": "^18.0.0",
9393
"typescript": "^5.6.3",
9494
"typescript-eslint": "^8.19.1"

Diff for: src/matchers/__tests__/to-be-disabled.test.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ test.each([
159159
['TouchableNativeFeedback', TouchableNativeFeedback],
160160
] as const)('toBeDisabled()/toBeEnabled() supports %s with "disabled" prop', (_, Component) => {
161161
render(
162-
// @ts-expect-error disabled prop is not available on all Touchables
163162
<Component disabled testID="subject">
164163
<Text>Button</Text>
165164
</Component>,
@@ -191,7 +190,6 @@ test.each([
191190
'toBeDisabled()/toBeEnabled() supports %s with "aria-disabled" prop',
192191
(_, Component) => {
193192
render(
194-
// @ts-expect-error too generic for typescript
195193
<Component testID="subject" aria-disabled>
196194
<Text>Hello</Text>
197195
</Component>,
@@ -218,7 +216,6 @@ test.each([
218216
'toBeDisabled()/toBeEnabled() supports %s with "accessibilityState.disabled" prop',
219217
(_, Component) => {
220218
render(
221-
// @ts-expect-error disabled prop is not available on all Touchables
222219
<Component testID="subject" accessibilityState={{ disabled: true }}>
223220
<Text>Hello</Text>
224221
</Component>,

0 commit comments

Comments
 (0)