Fixed typo "receieved" to "received", Adapted test.

This commit is contained in:
Felix Rilling
2019-03-10 10:59:56 +01:00
parent 239a615770
commit 63f900287c
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ describe('Spies', function () {
var spy = env.createSpy('foo');
spy.withArgs('bar').and.returnValue(-1);
expect(function() { spy('baz', {qux: 42}); }).toThrowError('Spy \'foo\' receieved a call with arguments [ \'baz\', Object({ qux: 42 }) ] but all configured strategies specify other arguments.');
expect(function() { spy('baz', {qux: 42}); }).toThrowError('Spy \'foo\' received a call with arguments [ \'baz\', Object({ qux: 42 }) ] but all configured strategies specify other arguments.');
});
});
});