Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-05 21:17:38 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-02-05 21:17:38 +0300
commitd97b96228973658fbd390823c1ab6f5364b33d00 (patch)
treea3d09e858659c818e773fba20ca2c376b5cbc6e3 /spec/javascripts/vue_shared
parent2e5e4bd75bfb63f2110c8789e05f24f2af012d34 (diff)
Use webpack to require files
Diffstat (limited to 'spec/javascripts/vue_shared')
-rw-r--r--spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es65
-rw-r--r--spec/javascripts/vue_shared/components/pipelines_table_spec.js.es67
2 files changed, 5 insertions, 7 deletions
diff --git a/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 b/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
index 6825de069e4..e83a1749e82 100644
--- a/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
+++ b/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
@@ -1,8 +1,7 @@
/* global pipeline */
-//= require vue
-//= require vue_shared/components/pipelines_table_row
-//= require commit/pipelines/mock_data
+require('~vue_shared/components/pipelines_table_row');
+require('./mock_data');
describe('Pipelines Table Row', () => {
let component;
diff --git a/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 b/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
index cb1006d44dc..adc9ea904cc 100644
--- a/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
+++ b/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
@@ -1,9 +1,8 @@
/* global pipeline */
-//= require vue
-//= require vue_shared/components/pipelines_table
-//= require commit/pipelines/mock_data
-//= require lib/utils/datetime_utility
+require('~vue_shared/components/pipelines_table');
+require('~lib/utils/datetime_utility');
+require('./mock_data');
describe('Pipelines Table', () => {
preloadFixtures('static/environments/element.html.raw');