Skip to content

Commit

Permalink
Using the latest (post-refactor) version of run-amock
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliecarey committed Oct 11, 2024
1 parent e3ac7c3 commit 3f84b98
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test": "rm -rf ./pacts && NODE_ENV=test mocha '!(node_modules)/**/*.test'.js",
"test:no-pact": "rm -rf ./pacts && NODE_ENV=test mocha --exclude **/*.pact.test.js '!(node_modules)/**/*.test'.js",
"test:pact": "rm -rf ./pacts && NODE_ENV=test mocha **/*.pact.test.js",
"cypress:server": "http-configurable-mock-server --port=8000 | node --inspect -r dotenv/config start.js dotenv_config_path=test/cypress/test.env",
"cypress:server": "run-amock --port=8000 | node --inspect -r dotenv/config start.js dotenv_config_path=test/cypress/test.env",
"cypress:test": "cypress run",
"cypress:test-headed": "cypress open",
"cypress:test-no-watch": "cypress open --config watchForFileChanges=false",
Expand Down Expand Up @@ -123,7 +123,7 @@
"@babel/core": "7.22.10",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.22.10",
"@govuk-pay/http-configurable-mock-server": "github:alphagov/http-configurable-mock-server#ac13d2d",
"@govuk-pay/run-amock": "github:alphagov/govuk-pay-run-amock#8632a53",
"@pact-foundation/pact": "^12.1.1",
"@pact-foundation/pact-core": "^14.0.5",
"chai": "4.3.8",
Expand Down
2 changes: 1 addition & 1 deletion test/cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const cookieMonster = require('./cookie-monster')
// the project's config changing)
module.exports = (on, config) => {
const stubSetupUrl = config.env.MOCK_HTTP_SERVER_URL + '/__add-mock-endpoints__'
const stubResetUrl = config.env.MOCK_HTTP_SERVER_URL + '/__clear-all-endpoints__'
const stubResetUrl = config.env.MOCK_HTTP_SERVER_URL + '/__clear-mock-endpoints__'

on('task', {
getCookies (opts) {
Expand Down

0 comments on commit 3f84b98

Please sign in to comment.