diff --git a/services/nodevoto-voting/api.js b/services/nodevoto-voting/api.js index 92361c0..af36e71 100644 --- a/services/nodevoto-voting/api.js +++ b/services/nodevoto-voting/api.js @@ -39,7 +39,7 @@ class PollServiceServer { }; implementations.VoteCartoonHalloweenGhost = (call, callback) => { - callback(new Error('Unkown error'), null); + callback(new Error('Unknown error'), null); }; return implementations; diff --git a/test/nodevoto-voting/api.test.js b/test/nodevoto-voting/api.test.js index 6c53161..dfc5fd5 100644 --- a/test/nodevoto-voting/api.test.js +++ b/test/nodevoto-voting/api.test.js @@ -48,7 +48,7 @@ describe('api (voting)', () => { try { await wrap(impls.VoteCartoonHalloweenGhost)(); } catch(err) { - expect(err.message).equals('Unkown error'); + expect(err.message).equals('Unknown error'); } }); diff --git a/test/nodevoto-web/app.test.js b/test/nodevoto-web/app.test.js index a7f2394..e71c705 100644 --- a/test/nodevoto-web/app.test.js +++ b/test/nodevoto-web/app.test.js @@ -78,7 +78,7 @@ class VotingMock { } VoteCartoonHalloweenGhost(args, callback) { - return callback('Unkown error', null); + return callback('Unknown error', null); } VoteBatmanSadRain(args, callback) {