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 3b2822b commit e2dc747
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 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 @@ -39,7 +39,7 @@
"snyk-protect": "snyk-protect",
"prepublish": "npm run snyk-protect",
"publish-pacts": "./bin/publish-pacts.js",
"cypress:server": "http-configurable-mock-server --port=8000 --debug | node --inspect -r dotenv/config config/start.js dotenv_config_path=test/cypress/test.env",
"cypress:server": "run-amock --port=8000 --debug | node --inspect -r dotenv/config 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 @@ -91,7 +91,7 @@
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@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",
"@snyk/protect": "^1.1235.x",
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 @@ -13,7 +13,7 @@ const axios = require('axios')
// 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', {
/**
Expand Down

0 comments on commit e2dc747

Please sign in to comment.