Created
October 15, 2019 00:02
-
-
Save jennjwill/2b66b508fec6d164169211a6a4dc7cfd to your computer and use it in GitHub Desktop.
test fail msg with morgan data at beginning (note 500 error on line 31)
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
npm test | |
> blocipedia-node@1.0.0 test C:\Users\Willz\bloc\blocipedia-node | |
> set NODE_ENV=test&& jasmine | |
Started | |
server is listening for requests on port 3000 | |
GET / 200 17.356 ms - 2933 | |
.GET /users/sign_up 200 3.640 ms - 3298 | |
.POST /users/sign_up 302 251.127 ms - 23 | |
.POST /users/sign_up 302 169.122 ms - 23 | |
.POST /users/sign_up 302 2.108 ms - 31 | |
.GET /users/sign_in 200 4.007 ms - 3323 | |
.GET /auth/fake 302 1.222 ms - 23 | |
GET / 200 3.766 ms - 2933 | |
GET /wikis/ 200 10.585 ms - 2106 | |
.GET /auth/fake 302 1.105 ms - 23 | |
GET / 200 3.823 ms - 2933 | |
GET /wikis/new 302 2.132 ms - 28 | |
GET /wikis 200 5.794 ms - 2106 | |
USER in wikis/new is= 1 | |
.GET /auth/fake 302 1.611 ms - 23 | |
GET / 200 3.503 ms - 2933 | |
POST /wikis/create 303 8.959 ms - 34 | |
.GET /auth/fake 302 0.851 ms - 23 | |
GET / 200 3.341 ms - 2933 | |
GET /wikis/1 200 19.612 ms - 1956 | |
.GET /auth/fake 302 1.703 ms - 23 | |
GET / 200 3.507 ms - 2933 | |
INSIDE EDIT fxn. Thru Authorizer | |
GET /wikis/1/edit 500 16.437 ms - 3482 | |
WIKI ID is= 1 | |
FGET /auth/fake 302 1.018 ms - 23 | |
GET / 200 4.676 ms - 2933 | |
POST /wikis/1/update 302 9.728 ms - 30 | |
.GET /auth/fake 302 2.866 ms - 23 | |
GET / 200 3.534 ms - 2933 | |
POST /wikis/1/update 302 5.019 ms - 30 | |
.GET /auth/fake 302 1.561 ms - 23 | |
GET / 200 5.168 ms - 2933 | |
POST /wikis/1/destroy 303 8.572 ms - 32 | |
..... | |
Failures: | |
1) routes : wikis GET /wikis/:id/edit should render a view with an edit wiki form | |
Message: | |
Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\edit.ejs<br> 45| <button type="submit&q<br> >> 46| <% if(!currentUser.isStandard &<br> 47| currentUser && current<br> 48| <a href="/wikis/<%=<br> 49| >Edit Collaborators&<br><br>Cannot read property 'isStandard' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_m ... to contain 'Edit wiki'. | |
Stack: | |
Error: Expected '<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Error</title> | |
</head> | |
<body> | |
<pre>TypeError: C:\Users\Willz\bloc\blocipedia-node\src\views\wikis\edit.ejs<br> 45| <button type="submit&q<br> >> 46| <% if(!currentUser.isStandard &<br> 47| currentUser && current<br> 48| <a href="/wikis/<%=<br> 49| >Edit Collaborators&<br><br>Cannot read property 'isStandard' of undefined<br> at eval (eval at compile (C:\Users\Willz\bloc\blocipedia-node\node_m ... to contain 'Edit wiki'. | |
at <Jasmine> | |
at Request.request.get [as _callback] (C:\Users\Willz\bloc\blocipedia-node\spec\integration\wikis_spec.js:302:22) | |
at Request.self.callback (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:186:22) | |
at Request.emit (events.js:197:13) | |
at Request.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1163:10) | |
at Request.emit (events.js:197:13) | |
at IncomingMessage.<anonymous> (C:\Users\Willz\bloc\blocipedia-node\node_modules\request\request.js:1085:12) | |
at Object.onceWrapper (events.js:285:13) | |
at IncomingMessage.emit (events.js:202:15) | |
at endReadableNT (_stream_readable.js:1132:12) | |
at processTicksAndRejections (internal/process/next_tick.js:76:17) | |
18 specs, 1 failure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment