diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index ae47cec..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Node.js -# Build a general Node.js project with npm. -# Add steps that analyze code, save build artifacts, deploy, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript - -trigger: -- master -- develop - -pool: - vmImage: 'ubuntu-latest' - -steps: -- task: NodeTool@0 - inputs: - versionSpec: '12.x' - displayName: 'Install Node.js' -- script: - npm install - displayName: 'npm install' -- script: - CI=true npm run test - displayName: 'run unit tests' -- script: - npm run cypress:test - displayName: 'run end to end tests' diff --git a/package.json b/package.json index 1374aed..79189da 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "cypress:open": "cypress open", "cypress:run": "cypress run", "cypress:test": "start-server-and-test start http://localhost:3000 cypress:run", - "test": "react-scripts test", + "test": "react-scripts test --coverage .", "build": "react-scripts build && copy-and-watch configuration/configuration.json build" }, "browserslist": { diff --git a/src/components/Terminated/__snapshots__/Terminated.test.jsx.snap b/src/components/Terminated/__snapshots__/Terminated.test.jsx.snap index fb44e7c..ba24386 100644 --- a/src/components/Terminated/__snapshots__/Terminated.test.jsx.snap +++ b/src/components/Terminated/__snapshots__/Terminated.test.jsx.snap @@ -243,159 +243,6 @@ Object {
-