From 2588b442e6d60641ae3f153402b52e4adc860e90 Mon Sep 17 00:00:00 2001 From: Gregg Van Hove Date: Wed, 9 Aug 2017 11:51:26 -0700 Subject: [PATCH] Integration specs that actually `execute` a suite need to be async --- spec/core/integration/EnvSpec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/core/integration/EnvSpec.js b/spec/core/integration/EnvSpec.js index 1d2878a5..53415660 100644 --- a/spec/core/integration/EnvSpec.js +++ b/spec/core/integration/EnvSpec.js @@ -786,7 +786,7 @@ describe("Env integration", function() { env.execute(); }); - it('can be configured to allow respying on functions', function () { + it('can be configured to allow respying on functions', function (done) { var env = new jasmineUnderTest.Env(), foo = { bar: function () { @@ -795,6 +795,7 @@ describe("Env integration", function() { }; env.allowRespy(true); + env.addReporter({ jasmineDone: done }); env.describe('test suite', function(){ env.it('spec 0', function(){