test: remove debug console.log (#4522)

This commit is contained in:
Andrey Lushnikov 2019-06-04 16:27:36 -07:00 committed by GitHub
parent 78d5106dd9
commit 15804d111a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -308,7 +308,7 @@ module.exports.addTests = function({testRunner, expect, CHROME}) {
});
const dataURL = 'data:text/html,<div>yo</div>';
const text = await page.evaluate(url => fetch(url).then(r => r.text()), dataURL);
console.log(text);
expect(text).toBe('<div>yo</div>');
expect(requests.length).toBe(1);
expect(requests[0].url()).toBe(dataURL);
});