Skip to content

Commit 838b305

Browse files
test: Migrate tests to typescript (#39)
1 parent 9d77429 commit 838b305

File tree

4 files changed

+377
-378
lines changed

4 files changed

+377
-378
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,27 @@
3939
"rebuild": "npm run clean; npm run build",
4040
"dev": "npm run build -- --watch",
4141
"prepare": "npm run rebuild",
42-
"test": "mocha --exit --timeout 1m \"./test/**/*-specs.js\"",
42+
"test": "mocha --exit --timeout 1m \"./test/**/*-specs.ts\"",
4343
"lint": "eslint .",
4444
"watch": "npm run dev"
4545
},
4646
"devDependencies": {
4747
"@appium/eslint-config-appium-ts": "^2.0.5",
48-
"@appium/tsconfig": "^0.x",
48+
"@appium/tsconfig": "^1.0.0",
4949
"@semantic-release/changelog": "^6.0.1",
5050
"@semantic-release/git": "^10.0.1",
5151
"@types/bluebird": "^3.5.37",
52+
"@types/chai": "^5.2.3",
5253
"@types/lodash": "^4.14.189",
54+
"@types/mocha": "^10.0.10",
5355
"@types/node": "^20.4.7",
54-
"chai": "^4.2.0",
55-
"chai-as-promised": "^7.1.1",
56+
"chai": "^6.2.1",
57+
"chai-as-promised": "^8.0.2",
5658
"conventional-changelog-conventionalcommits": "^9.0.0",
5759
"eslint": "^9.39.1",
5860
"mocha": "^10.0.0",
5961
"semantic-release": "^25.0.2",
60-
"sinon": "^16.0.0",
62+
"sinon": "^21.0.0",
6163
"ts-node": "^10.9.1",
6264
"typescript": "^5.1.6"
6365
},

0 commit comments

Comments
 (0)