Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- 41
- 42
- 43
- 44
- 45
node-version:
- '22.12.x'
os:
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@
"electron41": "npm:electron@^41",
"electron42": "npm:electron@^42",
"electron43": "npm:electron@^43",
"electron44": "npm:electron@^44",
"electron45": "npm:electron@^45",
"html-webpack-plugin": "^5.6.3",
"husky": "^9.1.7",
"lint-staged": "^17.4.1",
Expand Down
7 changes: 3 additions & 4 deletions spec/devtron-install-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,28 +67,28 @@
});

it('should load the extension in defaultSession', () => {
expect(
session.defaultSession.extensions
.getAllExtensions()
.map((ext) => ext.name)
.includes('devtron'),
).to.be.true;

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 75 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should register the service worker preload script in defaultSession', () => {
expect(
session.defaultSession.getPreloadScripts().some((script) => {
return script.id === 'devtron-sw-preload' && script.type === 'service-worker';
}),
).to.be.true;

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 83 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should register the renderer preload script in defaultSession', () => {
expect(
session.defaultSession.getPreloadScripts().some((script) => {
return script.id === 'devtron-renderer-preload' && script.type === 'frame';
}),
).to.be.true;

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 91 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

/* ----------- test on newly created sessions ----------- */
Expand All @@ -99,28 +99,28 @@
});

it('should load the extension in newly created sessions', () => {
expect(
newSes.extensions
.getAllExtensions()
.map((ext) => ext.name)
.includes('devtron'),
).to.be.true;

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 107 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should register the service worker preload script in newly created sessions', () => {
expect(
newSes.getPreloadScripts().some((script) => {
return script.id === 'devtron-sw-preload' && script.type === 'service-worker';
}),
).to.be.true;

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 115 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should register the renderer preload script in newly created sessions', () => {
expect(
newSes.getPreloadScripts().some((script) => {
return script.id === 'devtron-renderer-preload' && script.type === 'frame';
}),
).to.be.true;

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 123 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});
});

Expand All @@ -131,13 +131,12 @@
before(async function () {
this.timeout(20 * 1000);

// wait until webContents is ready
// The test window is created before `devtron.install()` registers the renderer
// preload, so its first load can miss it. Reload so the preload is applied.
await new Promise<void>((resolve) => {
const wc = mainWindow.webContents;
if (!wc.isLoading()) {
return resolve(); // already loaded
}
wc.once('did-finish-load', () => resolve());
wc.reload();
});

ipcMain.on('test-main-on', () => {});
Expand Down Expand Up @@ -205,7 +204,7 @@
e.args[1] === 'arg2' &&
typeof e.timestamp === 'number',
);
expect(ev).to.exist;

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 207 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should track ipcRenderer.addListener', () => {
Expand All @@ -219,7 +218,7 @@
e.method === 'addListener' &&
typeof e.timestamp === 'number',
);
expect(ev).to.exist;

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 221 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should track ipcRenderer.once', () => {
Expand All @@ -244,8 +243,8 @@
typeof e.timestamp === 'number',
);

expect(ev_on, 'Expected an ipcRenderer.on event').to.exist;

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 246 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
expect(ev_removeListener, 'Expected an ipcRenderer.removeListener event').to.exist;

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, ubuntu-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (44, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (41, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (45, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (38, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (40, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (43, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (39, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, windows-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (42, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (36, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used

Check warning on line 247 in spec/devtron-install-spec.ts

View workflow job for this annotation

GitHub Actions / Test (37, 22.12.x, macos-latest)

eslint(no-unused-expressions)

Expected expression to be used
});

it('should track ipcRenderer.sendSync', () => {
Expand Down
30 changes: 30 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ __metadata:
electron41: "npm:electron@^41"
electron42: "npm:electron@^42"
electron43: "npm:electron@^43"
electron44: "npm:electron@^44"
electron45: "npm:electron@^45"
html-webpack-plugin: "npm:^5.6.3"
husky: "npm:^9.1.7"
lint-staged: "npm:^17.4.1"
Expand Down Expand Up @@ -3504,6 +3506,34 @@ __metadata:
languageName: node
linkType: hard

"electron44@npm:electron@^44":
version: 44.9.3
resolution: "electron@npm:44.9.3"
dependencies:
"@electron-internal/extract-zip": "npm:^1.0.1"
"@electron/get": "npm:^5.0.0"
"@types/node": "npm:^24.9.0"
bin:
electron: cli.js
install-electron: install.js
checksum: 10c0/c3559aaa78f768dbf28b821b600e39e5753f4b316d3eeee30b2f1d72357c7d2a574fcd888353006a9f83968ac4fe2006071696078b23cbfcf1e23dabbc1f25fe
languageName: node
linkType: hard

"electron45@npm:electron@^45":
version: 45.0.0
resolution: "electron@npm:45.0.0"
dependencies:
"@electron-internal/extract-zip": "npm:^1.0.1"
"@electron/get": "npm:^5.0.0"
"@types/node": "npm:^24.9.0"
bin:
electron: cli.js
install-electron: install.js
checksum: 10c0/53dc878a72815e89aadccb125d137d1e2dbeabbe9b8c0f2c1a49c114e85c4635aa32c83af6074f11e6ccbe433069c6c57299a5b473a63322e7957da1348c7d8d
languageName: node
linkType: hard

"electron@npm:^44.5.0":
version: 44.5.0
resolution: "electron@npm:44.5.0"
Expand Down
Loading