From ff838d8e83d9a6e95c1efbbf497465d12e6cfe91 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 11 Jul 2017 19:38:20 -0700 Subject: [PATCH] Roll chromium to r485143 --- test/test.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test.js b/test/test.js index 07d4b7da010..f96d2325b6d 100644 --- a/test/test.js +++ b/test/test.js @@ -31,6 +31,14 @@ if (process.env.DEBUG_TEST) else 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() { let browser; let server;