summaryrefslogtreecommitdiff
path: root/spec/javascripts/graphs
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-01-09 17:23:54 -0600
committerMike Greiling <mike@pixelcog.com>2017-01-10 12:30:43 -0600
commit8d2099cb53e933e94ebc17e9c186c0f4ece107cb (patch)
treec7ec7b9192ecb4b267e39977f6c1f34963eeb3e7 /spec/javascripts/graphs
parenta8078d629e50ec1ea0e562e24e7bd7ea8931d896 (diff)
downloadgitlab-ce-8d2099cb53e933e94ebc17e9c186c0f4ece107cb.tar.gz
use ~ to reference non-local scripts instead of resolve.root
Diffstat (limited to 'spec/javascripts/graphs')
-rw-r--r--spec/javascripts/graphs/stat_graph_contributors_graph_spec.js2
-rw-r--r--spec/javascripts/graphs/stat_graph_contributors_util_spec.js2
-rw-r--r--spec/javascripts/graphs/stat_graph_spec.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js b/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js
index a914eda90bb..88aaaa0471b 100644
--- a/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js
+++ b/spec/javascripts/graphs/stat_graph_contributors_graph_spec.js
@@ -3,7 +3,7 @@
/* global ContributorsGraph */
/* global ContributorsMasterGraph */
-require('graphs/stat_graph_contributors_graph');
+require('~/graphs/stat_graph_contributors_graph');
describe("ContributorsGraph", function () {
describe("#set_x_domain", function () {
diff --git a/spec/javascripts/graphs/stat_graph_contributors_util_spec.js b/spec/javascripts/graphs/stat_graph_contributors_util_spec.js
index 4f82e1c46db..671b0ae391c 100644
--- a/spec/javascripts/graphs/stat_graph_contributors_util_spec.js
+++ b/spec/javascripts/graphs/stat_graph_contributors_util_spec.js
@@ -1,7 +1,7 @@
/* eslint-disable quotes, padded-blocks, no-var, camelcase, object-curly-spacing, semi, indent, object-property-newline, comma-dangle, comma-spacing, spaced-comment, max-len, key-spacing, vars-on-top, quote-props, no-multi-spaces */
/* global ContributorsStatGraphUtil */
-require('graphs/stat_graph_contributors_util');
+require('~/graphs/stat_graph_contributors_util');
describe("ContributorsStatGraphUtil", function () {
diff --git a/spec/javascripts/graphs/stat_graph_spec.js b/spec/javascripts/graphs/stat_graph_spec.js
index a017f35831d..5b3b7c9222a 100644
--- a/spec/javascripts/graphs/stat_graph_spec.js
+++ b/spec/javascripts/graphs/stat_graph_spec.js
@@ -1,7 +1,7 @@
/* eslint-disable quotes, padded-blocks, semi */
/* global StatGraph */
-require('graphs/stat_graph');
+require('~/graphs/stat_graph');
describe("StatGraph", function () {