Older versions don't support const, use var

This commit is contained in:
Gregg Van Hove
2019-05-20 17:56:27 -07:00
parent df6a71e37d
commit 9f875ce666

View File

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