Merge pull request #7813 from electron/ready-to-show-spec
Add initial ready-to-show event spec
This commit is contained in:
commit
ba6bb45f70
1 changed files with 7 additions and 0 deletions
|
@ -118,6 +118,13 @@ describe('browser-window module', function () {
|
|||
w.loadURL('about:blank')
|
||||
})
|
||||
|
||||
it('should emit ready-to-show event', function (done) {
|
||||
w.on('ready-to-show', function () {
|
||||
done()
|
||||
})
|
||||
w.loadURL('about:blank')
|
||||
})
|
||||
|
||||
it('should emit did-get-response-details event', function (done) {
|
||||
// expected {fileName: resourceType} pairs
|
||||
var expectedResources = {
|
||||
|
|
Loading…
Add table
Reference in a new issue