Created
January 5, 2016 15:44
-
-
Save janjiss/10b815929a63edd908a7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) SERVICE - AccountManager #createOrFindUser sad path should fail because of inviting himself: | |
AssertionError: expected {} to deeply equal { Object (email) } | |
+ expected - actual | |
-{} | |
+{ | |
+ "email": "You are trying to invite yourself." | |
+} | |
at Function.assert.deepEqual (/Users/janjiss/Work/Kliiko/node_modules/chai/lib/chai/interface/assert.js:207:32) | |
at /Users/janjiss/Work/Kliiko/test/services/accountManager.js:155:18 | |
at /Users/janjiss/Work/Kliiko/services/accountManager.js:23:14 | |
at preValidate (/Users/janjiss/Work/Kliiko/services/accountManager.js:88:12) | |
at Object.createOrFindUser (/Users/janjiss/Work/Kliiko/services/accountManager.js:21:3) | |
at Context.<anonymous> (/Users/janjiss/Work/Kliiko/test/services/accountManager.js:154:31) | |
at callFnAsync (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runnable.js:306:8) | |
at Test.Runnable.run (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runnable.js:261:7) | |
at Runner.runTest (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:421:10) | |
at /Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:528:12 | |
at next (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:341:14) | |
at /Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:351:7 | |
at next (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:283:14) | |
at Immediate._onImmediate (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runner.js:319:5) | |
at processImmediate [as _immediateCallback] (timers.js:383:17) | |
2) SERVICE - AccountManager #createOrFindUser sad path should fail because of already accepted: | |
Error: timeout of 6000ms exceeded. Ensure the done() callback is being called in this test. | |
at null.<anonymous> (/Users/janjiss/.nvm/versions/node/v4.2.2/lib/node_modules/mocha/lib/runnable.js:189:19) | |
at Timer.listOnTimeout (timers.js:92:15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment