From 2e9244d7df7d2f35247fc2d6bdb7304dba94b2f7 Mon Sep 17 00:00:00 2001 From: Robin Harrison Date: Tue, 30 May 2023 12:26:58 +0100 Subject: [PATCH] chore: Add imposter script to package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index ff9becf2..7555793f 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "test:coverage": "nyc --reporter=lcov --reporter=text-summary yarn test", "test:watch": "mocha --watch", "mocks": "yarn run wiremock --port 8010 --root-dir test/mocks", + "mocks:imposter": "imposter up test/imposter --port 8010", "test:browser": "wait-on tcp:127.0.0.1:8010 tcp:127.0.0.1:5010 && API_BASE_URL=http://127.0.0.1:8010 MOCK_API=true cucumber-js --config test/browser/cucumber.js --tags \"not @skip\"", "test:browser:ci": "npm-run-all -p -r start:ci mocks test:browser", "test:browser:only": "wait-on tcp:127.0.0.1:8010 tcp:127.0.0.1:5010 && API_BASE_URL=http://127.0.0.1:8010 MOCK_API=true cucumber-js --config test/browser/cucumber.js --tags \"@only and not @skip\"",