Fix unit test to include testValue instead of a constant value

This commit is contained in:
Nito Buendia
2022-03-16 21:31:40 +08:00
parent a7eff79db0
commit aba0c98eb9

View File

@@ -36,7 +36,7 @@ describe('toHaveSpyInteractions', function() {
let spyObj = jasmineUnderTest.getEnv().createSpyObj('NewClass', ['spyA', 'spyB']);
expect(function() {
expect(true).toHaveSpyInteractions();
expect(testValue).toHaveSpyInteractions();
}).toThrowError(Error, /Expected a spy object, but got/);
});
});