Skip to content

Commit d92e40d

Browse files
committed
Fix failing test caused by nswapi
- works correctly in browser but causes test failures - `:has()` support is apparently flaky, so we need to pin/revert the resolution
1 parent 5fc408a commit d92e40d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"@babel/core": "^7.21.8",
3333
"jsdom": "24.1.0",
3434
"@types/jsdom@npm:^20.0.0": "patch:@types/jsdom@npm%3A20.0.1#~/.yarn/patches/@types-jsdom-npm-20.0.1-5bb899e006.patch",
35+
"nwsapi": "2.2.2",
3536
"infima@npm:0.2.0-alpha.43": "patch:infima@npm%3A0.2.0-alpha.43#~/.yarn/patches/infima-npm-0.2.0-alpha.43-8d3b77b44d.patch"
3637
},
3738
"packageManager": "yarn@4.2.2"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27898,10 +27898,10 @@ __metadata:
2789827898
languageName: node
2789927899
linkType: hard
2790027900

27901-
"nwsapi@npm:^2.2.10":
27902-
version: 2.2.10
27903-
resolution: "nwsapi@npm:2.2.10"
27904-
checksum: 10c0/43dfa150387bd2a578e37556d0ae3330d5617f99e5a7b64e3400d4c2785620762aa6169caf8f5fbce17b7ef29c372060b602594320c374fba0a39da4163d77ed
27901+
"nwsapi@npm:2.2.2":
27902+
version: 2.2.2
27903+
resolution: "nwsapi@npm:2.2.2"
27904+
checksum: 10c0/f7c4fedb0dc0786204ee99f440e9827d6e01a0c0322e93b5c9a9a382dd0bd9650d98ca3d1967a77554e3ec1f9a46a20cfea80a41fb00e91c5101c53d8b2c9aed
2790527905
languageName: node
2790627906
linkType: hard
2790727907

0 commit comments

Comments
 (0)