aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-web/package.json3
-rw-r--r--server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/Changelog-test.js1
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json
index 7f343115d4b..09f2857018f 100644
--- a/server/sonar-web/package.json
+++ b/server/sonar-web/package.json
@@ -94,7 +94,8 @@
"test": "node scripts/test.js",
"coverage": "npm test -- --coverage",
"lint": "eslint src/main/js",
- "typecheck": "flow src/main/js"
+ "typecheck": "flow src/main/js",
+ "validate": "eslint src/main/js && flow check src/main/js && CI=1 node scripts/test.js"
},
"engines": {
"node": ">=4"
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/Changelog-test.js b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/Changelog-test.js
index 35759789ac4..4447249a70b 100644
--- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/Changelog-test.js
+++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/Changelog-test.js
@@ -19,7 +19,6 @@
*/
import { shallow } from 'enzyme';
import React from 'react';
-import { Link } from 'react-router';
import Changelog from '../Changelog';
import ChangesList from '../ChangesList';