Fixed syntax errors in IE 10

This commit is contained in:
Steve Gravrock
2020-06-25 07:36:06 -07:00
parent 17eda7a2de
commit f4753ac0a4

View File

@@ -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();
}
});