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

@@ -112,7 +112,7 @@ getJasmineRequireObj().Spy = function (j$) {
if (!strategy) {
if (argsStrategies.any() && !baseStrategy.isConfigured()) {
throw new Error('Spy \'' + strategyArgs.name + '\' receieved a call with arguments ' + j$.pp(Array.prototype.slice.call(args)) + ' but all configured strategies specify other arguments.');
throw new Error('Spy \'' + strategyArgs.name + '\' received a call with arguments ' + j$.pp(Array.prototype.slice.call(args)) + ' but all configured strategies specify other arguments.');
} else {
strategy = baseStrategy;
}