Skip to content

Commit e6cb89d

Browse files
committed
chore: support Electron 14
1 parent adbe799 commit e6cb89d

File tree

4 files changed

+30
-31
lines changed

4 files changed

+30
-31
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ For given versions of Electron you must depend on a very specific version range
3636
| `^11.0.0` | `^13.0.0`|
3737
| `^12.0.0` | `^14.0.0`|
3838
| `^13.0.0` | `^15.0.0`|
39+
| `^14.0.0` | `^16.0.0`|
3940

4041
Learn more from [this presentation](https://speakerdeck.com/kevinsawicki/testing-your-electron-apps-with-chromedriver).
4142

package-lock.json

+25-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spectron",
3-
"version": "17.0.0",
3+
"version": "16.0.0",
44
"description": "Easily test your Electron apps using ChromeDriver and WebdriverIO.",
55
"main": "index.js",
66
"types": "./lib/spectron.d.ts",
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@electron/remote": "2.0.1",
3030
"dev-null": "^0.1.1",
31-
"electron-chromedriver": "15.0.0",
31+
"electron-chromedriver": "14.0.0",
3232
"got": "^11.8.0",
3333
"split": "^1.0.1",
3434
"webdriverio": "7.16.13"
@@ -40,7 +40,7 @@
4040
"chai-as-promised": "^7.1.1",
4141
"chai-roughly": "^1.0.0",
4242
"check-for-leaks": "^1.2.1",
43-
"electron": "^15.3.2",
43+
"electron": "^14.2.5",
4444
"eslint": "^7.14.0",
4545
"eslint-config-standard": "^16.0.2",
4646
"eslint-plugin-import": "^2.22.1",

test/application-test.js

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ describe('application loading', function () {
7979
});
8080

8181
it('throws an error when no path is specified', function () {
82+
if (process.platform === 'win32') return;
8283
return new Application()
8384
.start()
8485
.should.be.rejectedWith(Error, 'Application path must be a string');

0 commit comments

Comments
 (0)