Roll chromium to r485143

This commit is contained in:
Andrey Lushnikov 2017-07-11 19:38:20 -07:00
parent b0a2cf662e
commit ff838d8e83

View File

@ -31,6 +31,14 @@ if (process.env.DEBUG_TEST)
else else
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10 * 1000; jasmine.DEFAULT_TIMEOUT_INTERVAL = 10 * 1000;
// Make sure the `npm install` was run after the chromium roll.
{
const Downloader = require('../utils/ChromiumDownloader');
const chromiumRevision = require('../package.json').puppeteer.chromium_revision;
const revisionInfo = Downloader.revisionInfo(Downloader.currentPlatform(), chromiumRevision);
console.assert(revisionInfo, `Chromium r${chromiumRevision} is not downloaded. Run 'npm install' and try to re-run tests.`);
}
describe('Puppeteer', function() { describe('Puppeteer', function() {
let browser; let browser;
let server; let server;