From f4753ac0a44bdc578626db63b56c84bda0058d77 Mon Sep 17 00:00:00 2001 From: Steve Gravrock Date: Thu, 25 Jun 2020 07:36:06 -0700 Subject: [PATCH] Fixed syntax errors in IE 10 --- spec/core/integration/EnvSpec.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/core/integration/EnvSpec.js b/spec/core/integration/EnvSpec.js index 247744d3..c811c9bf 100644 --- a/spec/core/integration/EnvSpec.js +++ b/spec/core/integration/EnvSpec.js @@ -2000,7 +2000,7 @@ describe("Env integration", function() { }); var assertions = function() { - expect(exception.message).toBe(`'setSpecProperty' was used when there was no current spec`); + expect(exception.message).toBe("'setSpecProperty' was used when there was no current spec"); done(); }; @@ -2020,10 +2020,10 @@ describe("Env integration", function() { env.addReporter(reporter); env.describe('calls setSuiteProperty', function() { - env.beforeEach(() => { + env.beforeEach(function() { env.setSuiteProperty('b', 'Sweet'); }); - env.it('a passing spec', () => { + env.it('a passing spec', function() { expect.nothing(); }); }); @@ -2037,7 +2037,7 @@ describe("Env integration", function() { try { env.setSuiteProperty('a', 'Bee'); } catch(e) { - expect(e.message).toBe(`'setSuiteProperty' was used when there was no current suite`); + expect(e.message).toBe("'setSuiteProperty' was used when there was no current suite"); done(); } });