Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sehrish30 committed Jul 22, 2023
1 parent f169d39 commit 04ac4bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions headlessBrowserTesting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "server",
"version": "1.0.0",
"description": "",
"main": "server.js",
"main": "index.js",
"jest": {
"setupFilesAfterEnv": [
"./tests/setup.js"
]
},
"scripts": {
"start": "node server.js",
"server": "nodemon server.js --ignore tests",
"start": "node index.js",
"server": "nodemon index.js --ignore tests",
"client": "npm run start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"build": "NPM_CONFIG_PRODUCTION=false npm install --legacy-peer-deps --prefix client && npm run build --prefix client",
Expand Down
2 changes: 1 addition & 1 deletion headlessBrowserTesting/tests/helpers/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CustomPage {

static async build() {
const browser = await puppeteer.launch({
headless: false,
headless: true,
// tinker around settings of vm
args: ["--no-sandbox"],
});
Expand Down

0 comments on commit 04ac4bf

Please sign in to comment.