Skip to content

Commit

Permalink
fix(server_manager): replace turned down omahaproxy.appspot.com
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Dec 11, 2023
1 parent 4c14a15 commit 4b90f63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/server_manager/electron_and_karma_chromium.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ import {config} from './package.json';

describe('Karma', () => {
it('uses the correct Chromium version', async (done) => {
// Omaha Proxy is a service maintained by the Chrome team which serves metadata about current
// and legacy Chrome versions.
const electronChromiumVersionInfo = <{chromium_base_position?: string}>(
await (
await fetch(
`http://omahaproxy.appspot.com/deps.json?version=${electronToChromium(electronVersion)}`
`https://chromiumdash.appspot.com/fetch_version?version=${electronToChromium(
electronVersion
)}`
)
).json()
);
const electronChromeRevision = electronChromiumVersionInfo.chromium_base_position;
const electronChromeRevision = electronChromiumVersionInfo.chromium_main_branch_position;
expect(electronChromeRevision).toEqual(config.PUPPETEER_CHROMIUM_REVISION);
done();
});
Expand Down

0 comments on commit 4b90f63

Please sign in to comment.