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: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

# Need to separate from other tests because logic is specific to when TOKEN env vars are set
test-updater:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Checkout code repository
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions test/snapshots/updater/nsisUpdaterTest.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@ Object {
Object {
"sha512": "@sha512",
"size": "@size",
"url": "electron-quick-start-typescript-1.0.2-arm64.exe",
"url": "electron-quick-start-typescript-1.0.2-x64.exe",
},
],
"path": "electron-quick-start-typescript-1.0.2-arm64.exe",
"path": "electron-quick-start-typescript-1.0.2-x64.exe",
"releaseDate": "@releaseDate",
"releaseName": "1.0.2",
"releaseNotes": "",
Expand All @@ -426,10 +426,10 @@ Object {
Object {
"sha512": "@sha512",
"size": "@size",
"url": "electron-quick-start-typescript-2.0.0-arm64.exe",
"url": "electron-quick-start-typescript-2.0.0-x64.exe",
},
],
"path": "electron-quick-start-typescript-2.0.0-arm64.exe",
"path": "electron-quick-start-typescript-2.0.0-x64.exe",
"releaseDate": "@releaseDate",
"releaseName": "2.0.0",
"releaseNotes": "",
Expand Down
4 changes: 2 additions & 2 deletions test/src/updater/nsisUpdaterTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test("github allowPrerelease=true", async () => {
updater.updateConfigPath = await writeUpdateConfig<GithubOptions>({
provider: "github",
owner: "mmaietta",
repo: "electron-builder-test",
repo: "electron-builder-test-prerelease",
})
const updateCheckResult = await updater.checkForUpdates()
expect(removeUnstableProperties(updateCheckResult?.updateInfo)).toMatchSnapshot()
Expand All @@ -59,7 +59,7 @@ test("github allowPrerelease=false", async () => {
updater.updateConfigPath = await writeUpdateConfig<GithubOptions>({
provider: "github",
owner: "mmaietta",
repo: "electron-builder-test",
repo: "electron-builder-test-prerelease",
})
const updateCheckResult = await updater.checkForUpdates()
expect(removeUnstableProperties(updateCheckResult?.updateInfo)).toMatchSnapshot()
Expand Down