-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
639ad4b
commit ab92da1
Showing
290 changed files
with
2,248 additions
and
1,960 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ dist/ | |
.DS_Store | ||
*.zip | ||
*.log | ||
*.tsbuildinfo | ||
|
||
# Project lockfile only | ||
package-lock.json | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: npm start --workspace app | ||
web: npm start --workspace packages/app |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1 @@ | ||
const devServerOptions = require('./jest-dev-server.config.js') | ||
|
||
module.exports = { | ||
browserContext: 'incognito', | ||
|
||
/** | ||
* Workaround for jest-environment-puppeteer 'uncaughtException' | ||
* see error handling in ./config/jest/environment/puppeteer.mjs | ||
*/ | ||
exitOnPageError: false, | ||
|
||
/** | ||
* Puppeteer launch options | ||
* | ||
* @type {import('puppeteer').PuppeteerLaunchOptions} | ||
*/ | ||
launch: { | ||
args: [ | ||
/** | ||
* Workaround for 'No usable sandbox! Update your kernel' error | ||
* see more https://github.com/Googlechrome/puppeteer/issues/290 | ||
*/ | ||
'--no-sandbox', | ||
'--disable-setuid-sandbox', | ||
|
||
/** | ||
* Prevent empty Chromium startup window | ||
* Tests use their own `browser.newPage()` instead | ||
*/ | ||
'--no-startup-window' | ||
], | ||
waitForInitialPage: false | ||
}, | ||
|
||
/** | ||
* Development server options | ||
*/ | ||
server: devServerOptions | ||
} | ||
module.exports = require('govuk-frontend-config/jest/browser/jest-puppeteer.config.js') |
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
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
Oops, something went wrong.