mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix debug info message in test (#11864)
This commit is contained in:
parent
47c9fe5cd4
commit
8bd1a53697
@ -24,11 +24,8 @@ describe('DebugInfo', function () {
|
||||
});
|
||||
}
|
||||
|
||||
if (browser.debugInfo.pendingProtocolErrors.length) {
|
||||
throw new Error(
|
||||
'browser.debugInfo.pendingProtocolErrors is not empty before the test'
|
||||
);
|
||||
}
|
||||
// Insure that the previous test are flushed
|
||||
expect(browser.debugInfo.pendingProtocolErrors).toHaveLength(0);
|
||||
|
||||
const promise = page.evaluate(() => {
|
||||
return new Promise(resolve => {
|
||||
|
Loading…
Reference in New Issue
Block a user