From e545ec8ca8c1989ca80ea7da0dce0473c19cec0f Mon Sep 17 00:00:00 2001 From: Gaurav Munjal Date: Fri, 27 Sep 2019 16:34:11 -0400 Subject: [PATCH] fix last few tests --- packages/@ember/application/tests/visit_test.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/@ember/application/tests/visit_test.js b/packages/@ember/application/tests/visit_test.js index 2b6a15391fd..961d07b7038 100644 --- a/packages/@ember/application/tests/visit_test.js +++ b/packages/@ember/application/tests/visit_test.js @@ -23,7 +23,11 @@ moduleFor( } createApplication(options) { - return super.createApplication(options, Application.extend()); + let application; + ignoreDeprecation(() => { + application = super.createApplication(options, Application.extend()); + }, /Using the globals resolver is deprecated/); + return application; } assertEmptyFixture(message) { @@ -455,7 +459,7 @@ moduleFor( [`@test visit() returns a promise that resolves without rendering when shouldRender is set to false with Engines`]( assert ) { - assert.expect(3); + assert.expect(4); this.router.map(function() { this.mount('blog'); @@ -486,7 +490,7 @@ moduleFor( [`@test visit() does not setup the event_dispatcher:main if isInteractive is false (with Engines) GH#15615`]( assert ) { - assert.expect(3); + assert.expect(4); this.router.map(function() { this.mount('blog'); @@ -535,7 +539,7 @@ moduleFor( } [`@test visit() on engine resolves engine component`](assert) { - assert.expect(2); + assert.expect(3); this.router.map(function() { this.mount('blog'); @@ -573,7 +577,7 @@ moduleFor( } [`@test visit() on engine resolves engine helper`](assert) { - assert.expect(2); + assert.expect(3); this.router.map(function() { this.mount('blog');