Skip to content

Commit

Permalink
chore: support Electron 14
Browse files Browse the repository at this point in the history
  • Loading branch information
VerteDinde committed Feb 2, 2022
1 parent adbe799 commit e6cb89d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 31 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ For given versions of Electron you must depend on a very specific version range
| `^11.0.0` | `^13.0.0`|
| `^12.0.0` | `^14.0.0`|
| `^13.0.0` | `^15.0.0`|
| `^14.0.0` | `^16.0.0`|

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

Expand Down
53 changes: 25 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spectron",
"version": "17.0.0",
"version": "16.0.0",
"description": "Easily test your Electron apps using ChromeDriver and WebdriverIO.",
"main": "index.js",
"types": "./lib/spectron.d.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@electron/remote": "2.0.1",
"dev-null": "^0.1.1",
"electron-chromedriver": "15.0.0",
"electron-chromedriver": "14.0.0",
"got": "^11.8.0",
"split": "^1.0.1",
"webdriverio": "7.16.13"
Expand All @@ -40,7 +40,7 @@
"chai-as-promised": "^7.1.1",
"chai-roughly": "^1.0.0",
"check-for-leaks": "^1.2.1",
"electron": "^15.3.2",
"electron": "^14.2.5",
"eslint": "^7.14.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
Expand Down
1 change: 1 addition & 0 deletions test/application-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ describe('application loading', function () {
});

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

0 comments on commit e6cb89d

Please sign in to comment.