From f90b02a505d2288f23ac86040d9a98f802cc44ec Mon Sep 17 00:00:00 2001 From: Paul Melnikow Date: Thu, 15 Mar 2018 09:34:00 -0400 Subject: [PATCH] Do not rate limit in dev --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0bb169ed880b4..5c7561861adf4 100644 --- a/package.json +++ b/package.json @@ -45,8 +45,8 @@ "xpath": "~0.0.27" }, "scripts": { - "coverage:test:js": "nyc node_modules/mocha/bin/_mocha '*.spec.js' 'lib/**/*.spec.js' 'service-tests/**/*.spec.js'", - "coverage:test:services": "nyc node_modules/mocha/bin/_mocha --delay service-tests/runner/cli.js", + "coverage:test:js": "RATE_LIMIT=false nyc node_modules/mocha/bin/_mocha '*.spec.js' 'lib/**/*.spec.js' 'service-tests/**/*.spec.js'", + "coverage:test:services": "RATE_LIMIT=false nyc node_modules/mocha/bin/_mocha --delay service-tests/runner/cli.js", "coverage:test": "rimraf .nyc_output coverage; npm run coverage:test:js; npm run coverage:test:services", "coverage:report": "nyc report", "coverage:report:reopen": "opn coverage/lcov-report/index.html", @@ -54,10 +54,10 @@ "lint": "eslint '**/*.js'", "danger": "danger", "test:js:frontend": "NODE_ENV=mocha mocha --require babel-polyfill --require babel-register 'frontend/**/*.spec.js'", - "test:js:server": "mocha '*.spec.js' 'lib/**/*.spec.js' 'services/**/*.spec.js' 'service-tests/**/*.spec.js'", - "test:services": "mocha --delay service-tests/runner/cli.js", + "test:js:server": "RATE_LIMIT=false mocha '*.spec.js' 'lib/**/*.spec.js' 'services/**/*.spec.js' 'service-tests/**/*.spec.js'", + "test:services": "RATE_LIMIT=false mocha --delay service-tests/runner/cli.js", "test:services:pr:prepare": "node service-tests/runner/pull-request-services-cli.js > pull-request-services.log", - "test:services:pr:run": "mocha --delay service-tests/runner/cli.js --stdin < pull-request-services.log", + "test:services:pr:run": "RATE_LIMIT=false mocha --delay service-tests/runner/cli.js --stdin < pull-request-services.log", "test:services:pr": "npm run test:services:pr:prepare && npm run test:services:pr:run", "test": "npm run lint && npm run test:js:frontend && npm run test:js:server", "circle-images:build": "docker build -t shieldsio/shields-ci-node-8:${IMAGE_TAG} -f .circleci/images/node-8/Dockerfile . && docker build -t shieldsio/shields-ci-node-9:${IMAGE_TAG} -f .circleci/images/node-9/Dockerfile .",