This commit is contained in:
Hye Sung Jung 2020-01-29 03:42:25 -06:00 committed by GitHub
parent 28fb2b7ed5
commit 0bd8a97f38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -1095,7 +1095,7 @@ describe('chromium features', () => {
// History should have current page by now.
expect((w.webContents as any).length()).to.equal(1)
const waitCommit = emittedOnce(w.webContents, 'navigation-entry-commited')
const waitCommit = emittedOnce(w.webContents, 'navigation-entry-committed')
w.webContents.executeJavaScript('window.history.pushState({}, "")')
await waitCommit
// Initial page + pushed state.