diff --git a/package-lock.json b/package-lock.json index 29453e069..c4647209c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,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", @@ -2123,15 +2123,6 @@ "node": ">=8" } }, - "node_modules/@govuk-pay/http-configurable-mock-server": { - "version": "0.0.1", - "resolved": "git+ssh://git@github.com/alphagov/http-configurable-mock-server.git#ac13d2da8a5f21f5ffa2a4d6a35af856dfd67911", - "dev": true, - "license": "ISC", - "bin": { - "http-configurable-mock-server": "bin/run" - } - }, "node_modules/@govuk-pay/pay-js-commons": { "version": "6.0.12", "resolved": "https://registry.npmjs.org/@govuk-pay/pay-js-commons/-/pay-js-commons-6.0.12.tgz", @@ -2178,6 +2169,15 @@ "prom-client": "^14.2.0" } }, + "node_modules/@govuk-pay/run-amock": { + "version": "0.0.1", + "resolved": "git+ssh://git@github.com/alphagov/govuk-pay-run-amock.git#8632a53c5f8c9cf006a70f12cf7c038e6d69205d", + "dev": true, + "license": "MIT", + "bin": { + "run-amock": "bin/run" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -17825,11 +17825,6 @@ } } }, - "@govuk-pay/http-configurable-mock-server": { - "version": "git+ssh://git@github.com/alphagov/http-configurable-mock-server.git#ac13d2da8a5f21f5ffa2a4d6a35af856dfd67911", - "dev": true, - "from": "@govuk-pay/http-configurable-mock-server@github:alphagov/http-configurable-mock-server#ac13d2d" - }, "@govuk-pay/pay-js-commons": { "version": "6.0.12", "resolved": "https://registry.npmjs.org/@govuk-pay/pay-js-commons/-/pay-js-commons-6.0.12.tgz", @@ -17872,6 +17867,11 @@ "prom-client": "^14.2.0" } }, + "@govuk-pay/run-amock": { + "version": "git+ssh://git@github.com/alphagov/govuk-pay-run-amock.git#8632a53c5f8c9cf006a70f12cf7c038e6d69205d", + "dev": true, + "from": "@govuk-pay/run-amock@github:alphagov/govuk-pay-run-amock#8632a53" + }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", diff --git a/package.json b/package.json index de5593841..c0dacd8e9 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "lint-sass": "stylelint '**/*.scss'", "watch-live-reload": "grunt watch", "test": "rm -rf ./pacts && NODE_ENV=test mocha --exclude **/*.cy.test.js '!(node_modules)/**/*.test'.js", - "cypress:server": "http-configurable-mock-server --port=8000 | node -r dotenv/config start.js dotenv_config_path=test/cypress/test.env", + "cypress:server": "run-amock --port=8000 | node -r dotenv/config start.js dotenv_config_path=test/cypress/test.env", "cypress:test": "cypress run", "cypress:test-headed": "cypress open", "snyk-protect": "snyk-protect", @@ -108,7 +108,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",