summaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-18 16:02:17 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-18 16:02:48 +0200
commit369306430ce4a0959b0344d837db43faf51182c8 (patch)
tree8691897d249cef3728408b2ae2f3aa93dd008fce /server/sonar-web
parentcb204155dcba2f4be13877f31ad312bed1779782 (diff)
downloadsonarqube-369306430ce4a0959b0344d837db43faf51182c8.tar.gz
sonarqube-369306430ce4a0959b0344d837db43faf51182c8.zip
remove unused tests
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/test/intern.js1
-rw-r--r--server/sonar-web/test/unit/overview/card.spec.js36
2 files changed, 0 insertions, 37 deletions
diff --git a/server/sonar-web/test/intern.js b/server/sonar-web/test/intern.js
index 520d2127a40..1c89848442c 100644
--- a/server/sonar-web/test/intern.js
+++ b/server/sonar-web/test/intern.js
@@ -17,7 +17,6 @@ define(['intern'], function (intern) {
suites: [
'test/unit/application.spec',
'test/unit/issue.spec',
- 'test/unit/overview/card.spec',
'test/unit/code-with-issue-locations-helper.spec',
'test/unit/nav/component/component-nav-breadcrumbs.spec'
],
diff --git a/server/sonar-web/test/unit/overview/card.spec.js b/server/sonar-web/test/unit/overview/card.spec.js
deleted file mode 100644
index 148f9144258..00000000000
--- a/server/sonar-web/test/unit/overview/card.spec.js
+++ /dev/null
@@ -1,36 +0,0 @@
-define(function (require) {
- var bdd = require('intern!bdd');
- var assert = require('intern/chai!assert');
-
- require('intern/order!build/js/libs/translate.js');
-
- var React = require('react');
- var TestUtils = React.addons.TestUtils;
-
- var Card = require('build/js/apps/overview/card');
- var Cards = require('build/js/apps/overview/cards');
-
- bdd.describe('Overview - Card', function () {
- bdd.it('should render .overview-card', function () {
- var result = TestUtils.renderIntoDocument(React.createElement(Card, null));
- assert.ok(TestUtils.findRenderedDOMComponentWithClass(result, 'overview-card'));
- });
-
- bdd.it('should render children', function () {
- var result = TestUtils.renderIntoDocument(React.createElement(Card, null, '!'));
- assert.equal('!', result.getDOMNode().textContent);
- });
- });
-
- bdd.describe('Overview - Cards', function () {
- bdd.it('should render .overview-cards', function () {
- var result = TestUtils.renderIntoDocument(React.createElement(Cards, null));
- assert.ok(TestUtils.findRenderedDOMComponentWithClass(result, 'overview-cards'));
- });
-
- bdd.it('should render children', function () {
- var result = TestUtils.renderIntoDocument(React.createElement(Cards, null, '!'));
- assert.equal('!', result.getDOMNode().textContent);
- });
- });
-});