Skip to content

Commit 4f01876

Browse files
authored
fix(device): make tests work on node 22 (#2432)
1 parent 70902b6 commit 4f01876

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

device/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"native"
3131
],
3232
"scripts": {
33-
"test": "uvu -r esm -r ts-node/register src/__tests__",
33+
"test": "uvu -r tsm src/__tests__",
3434
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
3535
"verify:ios": "xcodebuild build -scheme CapacitorDevice -destination generic/platform=iOS",
3636
"verify:android": "cd android && ./gradlew clean build test && cd ..",
@@ -56,13 +56,12 @@
5656
"@ionic/prettier-config": "~1.0.1",
5757
"@ionic/swiftlint-config": "^1.1.2",
5858
"eslint": "^8.57.0",
59-
"esm": "^3.2.25",
6059
"prettier": "~2.3.0",
6160
"prettier-plugin-java": "~1.0.2",
6261
"rimraf": "^6.0.1",
6362
"rollup": "^4.26.0",
6463
"swiftlint": "^1.0.1",
65-
"ts-node": "^9.1.1",
64+
"tsm": "^2.3.0",
6665
"typescript": "~4.1.5",
6766
"uvu": "^0.5.1"
6867
},

0 commit comments

Comments
 (0)