From 038718717c5babee042d6cd12e17f6d21372ea45 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 31 Oct 2016 12:40:49 -0700 Subject: [PATCH] Add initial ready-to-show spec --- spec/api-browser-window-spec.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index ae99be6808cc..e268af969d99 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -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 = {