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 |
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.926 ms - 2933 | |
.GET /users/sign_up 200 4.273 ms - 3298 | |
.POST /users/sign_up 302 251.248 ms - 23 |
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
> 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 13.912 ms - 2933 | |
.GET /users/sign_up 200 2.882 ms - 3298 | |
.POST /users/sign_up 302 203.928 ms - 23 | |
.POST /users/sign_up 302 151.305 ms - 23 |
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 13.726 ms - 2933 | |
.GET /users/sign_up 200 3.016 ms - 3298 | |
.POST /users/sign_up 302 204.943 ms - 23 |
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
//import {math} from './math.js'; | |
// 6 Assume that there is a `math.js` file that performs various mathematical operations on pairs of integers. Design a Jasmine suite with the following unit tests. | |
// - A spec for the addition(+) operation. (test.add(num1, num2)) | |
// - A spec for the subtraction(-) operation. (test.subtract(num1, num2)) | |
// - A spec for the multiplication(*) operation. (test.multiply(num1,num2)) | |
// - A spec for the division(/) operation. (test.divide(num1, num2)) | |
// - A spec to throw an error if an operation tries to divide by zero. | |
//add the associated specs under each comment |
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
Started | |
server is listening for requests on port 3000 | |
GET / 200 16.228 ms - 2824 | |
.GET /users/sign_up 200 4.275 ms - 3190 | |
.POST /users/sign_up 302 272.236 ms - 23 | |
.POST /users/sign_up 302 190.580 ms - 23 | |
.FPOST /users/sign_up 302 1.746 ms - 31 | |
FGET /users/sign_in 200 4.231 ms - 3215 | |
{ SequelizeDatabaseError: relation "Users" does not exist | |
at Query.formatError (C:\Users\Willz\bloc\blocipedia-node\node_modules\sequelize\lib\dialects\postgres\query.js:363:16) |
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 | |
> bloccit@1.0.0 test C:\Users\Willz\bloc\bloccit | |
> set NODE_ENV=test&& jasmine | |
Mon, 09 Sep 2019 19:59:58 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules\sequelize\lib\sequelize.js:237:13 | |
Started | |
server is listening for requests on port 3000 | |
....FF....value of this:[object Object] | |
......................{ id: '1', email: 'user@example.com', role: 'member' } |
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
library=# SELECT * FROM books; | |
id | title | author | |
------+------------------------------------------+--------------------- | |
1259 | Eloquent Ruby | Russell A. Olson | |
1593 | JavaScript: The Good Parts | Douglas Crockford | |
8982 | Designing Object-Oriented Software | Rebecca Wirfs-Brock | |
7265 | Practical Object-Oriented Design in Ruby | Sandi Metz | |
(4 rows) |
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
inventory=# SELECT * FROM products; | |
productid | name | price | |
-----------+----------------------------+-------- | |
11773 | South Face Jacket | 174.99 | |
11774 | Big Mountain 2-Person Tent | 219.99 | |
11775 | King Cole Camp Stove | 34.99 | |
11776 | Oregon Trail Mountain Bike | 579.99 | |
(4 rows) |