Skip to content

Commit 337e0f2

Browse files
committed
Remove old endpoint and update README
1 parent 38b3e52 commit 337e0f2

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Your app is ready to be deployed!
4646

4747
Runs the [Cypress] end-to-end tests, which means:
4848

49-
- Starting a mock for the Google server on port 3100
50-
- Starting the forms app in TESTING mode on port 3000
49+
- Starting a mock for the backend server on port 3100
50+
- Starting the forms app in LOCAL mode on port 3000
5151
- Waiting for the app to start then running the tests
5252

5353
[cypress]: https://www.cypress.io/

e2e/fixtures/server.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@ app.get('/cities', (_, res) => {
1313
res.json({ cities: [{ _id: '123abc', name: 'London' }] })
1414
})
1515

16-
app.post('/google', (req, res) => {
17-
console.log({
18-
body: req.body,
19-
headers: req.headers
20-
})
21-
calls.push({
22-
body: req.body,
23-
headers: req.headers
24-
})
25-
res.sendStatus(204)
26-
})
27-
2816
app.post('/volunteer', (req, res) => {
2917
console.log({
3018
body: req.body,

0 commit comments

Comments
 (0)