aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/test
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-08-04 14:36:44 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-08-04 14:36:44 +0200
commit0421e0a1699eef419ff6175278b5312bde2e8ccd (patch)
tree1e45f927e9e98e72a14d7db693d3fffbcad7432e /server/sonar-web/test
parent39bc3790a7551a188a22eb9d8beb4b54863660c0 (diff)
downloadsonarqube-0421e0a1699eef419ff6175278b5312bde2e8ccd.tar.gz
sonarqube-0421e0a1699eef419ff6175278b5312bde2e8ccd.zip
add react.js
Diffstat (limited to 'server/sonar-web/test')
-rw-r--r--server/sonar-web/test/intern-browser.js8
-rw-r--r--server/sonar-web/test/intern.js8
2 files changed, 14 insertions, 2 deletions
diff --git a/server/sonar-web/test/intern-browser.js b/server/sonar-web/test/intern-browser.js
index a7ace36b0e6..e0be66f5869 100644
--- a/server/sonar-web/test/intern-browser.js
+++ b/server/sonar-web/test/intern-browser.js
@@ -12,5 +12,11 @@ define({
tunnel: 'NullTunnel',
environments: [
{ browserName: 'firefox' }
- ]
+ ],
+
+ loaderOptions: {
+ paths: {
+ 'react': 'build/js/libs/third-party/react-with-addons'
+ }
+ }
});
diff --git a/server/sonar-web/test/intern.js b/server/sonar-web/test/intern.js
index d8c81d50887..e5d3691a7f7 100644
--- a/server/sonar-web/test/intern.js
+++ b/server/sonar-web/test/intern.js
@@ -32,6 +32,12 @@ define(['intern'], function (intern) {
tunnel: tunnel,
environments: [
{ browserName: 'firefox' }
- ]
+ ],
+
+ loaderOptions: {
+ paths: {
+ 'react': 'build/js/libs/third-party/react-with-addons'
+ }
+ }
};
});