diff --git a/spec/core/PrettyPrintSpec.js b/spec/core/PrettyPrintSpec.js index e3d0d508..b62d191d 100644 --- a/spec/core/PrettyPrintSpec.js +++ b/spec/core/PrettyPrintSpec.js @@ -299,7 +299,7 @@ describe("jasmineUnderTest.pp", function () { }); spyRegistry.spyOn(TestObject, 'toString'); - const testSpyObj = env.createSpyObj('TheClassName', ['toString']); + var testSpyObj = env.createSpyObj('TheClassName', ['toString']); expect(jasmineUnderTest.pp(testSpyObj)).toEqual("spy on TheClassName.toString"); });