From 6db76090422d18ce848d872b5ef50855db9b3d27 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 13:41:12 +0000 Subject: [PATCH 1/6] Update app.js --- src/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.js b/src/app.js index 3820bc7..236cf74 100644 --- a/src/app.js +++ b/src/app.js @@ -1,3 +1,4 @@ +//hello const express = require('express'); const helmet = require('helmet'); const {addAsync} = require('@awaitjs/express'); From 029d8eb473c4ead7f5f6ec93e69b2b94fde387d8 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 13:43:48 +0000 Subject: [PATCH 2/6] Update 01-register.spec.js --- test/auth/01-register.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/auth/01-register.spec.js b/test/auth/01-register.spec.js index 8972125..cd345d3 100644 --- a/test/auth/01-register.spec.js +++ b/test/auth/01-register.spec.js @@ -50,7 +50,7 @@ describe('auth/register', function() { expect(response.headers).not.toHaveProperty('token'); }); - it.skip('stores password as salted hash, not plain text', async function() { + it('stores password as salted hash, not plain text', async function() { await request.post('/api/auth/register') .send({email: 'fred@acme.com', password: 'abc123'}); const user = await User.findByEmail('fred@acme.com'); From 9ff23efada4e3ec0feff3c568ce03b5b3e7be625 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 13:47:01 +0000 Subject: [PATCH 3/6] Update 01-register.spec.js --- test/auth/01-register.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/auth/01-register.spec.js b/test/auth/01-register.spec.js index cd345d3..8972125 100644 --- a/test/auth/01-register.spec.js +++ b/test/auth/01-register.spec.js @@ -50,7 +50,7 @@ describe('auth/register', function() { expect(response.headers).not.toHaveProperty('token'); }); - it('stores password as salted hash, not plain text', async function() { + it.skip('stores password as salted hash, not plain text', async function() { await request.post('/api/auth/register') .send({email: 'fred@acme.com', password: 'abc123'}); const user = await User.findByEmail('fred@acme.com'); From 32191f0fe21b39326e49ff6a959e11018ed76b40 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 13:48:06 +0000 Subject: [PATCH 4/6] Update app.js --- src/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app.js b/src/app.js index 236cf74..3820bc7 100644 --- a/src/app.js +++ b/src/app.js @@ -1,4 +1,3 @@ -//hello const express = require('express'); const helmet = require('helmet'); const {addAsync} = require('@awaitjs/express'); From 348dcea34975377d323b2240bd515dbd3e583ff5 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 14:23:56 +0000 Subject: [PATCH 5/6] Update app.js --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 3820bc7..eda1436 100644 --- a/src/app.js +++ b/src/app.js @@ -19,7 +19,7 @@ module.exports = function() { /* istanbul ignore next */ app.get('/hi', (req, res) => { - res.status(200).send('Hi there!'); + res.status(200).send('Hi there this is just a test!'); }); return app; From 8b0d261e087af7ed305e9d3f4b5b0d266a471626 Mon Sep 17 00:00:00 2001 From: Adam Pascoe <86658760+AJPascoe@users.noreply.github.com> Date: Wed, 3 Nov 2021 14:39:44 +0000 Subject: [PATCH 6/6] Update app.js --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index eda1436..3f062d4 100644 --- a/src/app.js +++ b/src/app.js @@ -19,7 +19,7 @@ module.exports = function() { /* istanbul ignore next */ app.get('/hi', (req, res) => { - res.status(200).send('Hi there this is just a test!'); + res.status(200).send('Hi there this is just a test on the new feature branch!'); }); return app;