Skip to content

Commit 2f7c1ac

Browse files
fix(runtime): bump chai to v6 (#37)
Updated `chai` and `@vitest/expect` dependencies to resolve test crashes caused by Hermes not understanding bigint literals.
1 parent 1d7c811 commit 2f7c1ac

File tree

3 files changed

+61
-36
lines changed

3 files changed

+61
-36
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@react-native-harness/runtime': prerelease
3+
---
4+
5+
Updated `chai` and `@vitest/expect` dependencies to resolve test crashes caused by Hermes not understanding bigint literals.

packages/runtime/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
},
2828
"dependencies": {
2929
"@react-native-harness/bridge": "workspace:*",
30-
"@vitest/expect": "4.0.0-beta.8",
31-
"@vitest/spy": "4.0.0-beta.8",
32-
"chai": "^5.3.1",
30+
"@vitest/expect": "4.0.16",
31+
"@vitest/spy": "4.0.16",
32+
"chai": "^6.2.2",
3333
"event-target-shim": "^6.0.2",
3434
"use-sync-external-store": "^1.6.0",
3535
"zustand": "^5.0.5"

pnpm-lock.yaml

Lines changed: 53 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)