Add initial ready-to-show spec

This commit is contained in:
Kevin Sawicki 2016-10-31 12:40:49 -07:00
parent b8f09ecf4f
commit 038718717c

View file

@ -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 = {