Skip to content

Commit fbefa8f

Browse files
author
Meinaart van Straalen
committed
Fix test server port
1 parent 6589ca0 commit fbefa8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cypress/cypress.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
2-
"baseUrl": "http://localhost:8888",
2+
"baseUrl": "http://localhost:8080",
33
"ignoreTestFiles": [
44
"**/__snapshots__/*",
55
"**/__image_snapshots__/*"
66
],
77
"env": {
88
"cypress-plugin-snapshots": {
99
"serverPort": 2222,
10+
"diffLines": 4,
1011
"excludeFields": ["ignore"]
1112
}
1213
},

cypress/test-server/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const express = require('express');
22
const path = require('path');
33

44
const app = express();
5-
const port = 8888
5+
const port = 8080
66

77
app.get('/', (req, res) => res.send('Test server running!'))
88
app.use('/static', express.static(path.join(__dirname, 'static')))

0 commit comments

Comments
 (0)