fix spec_helper missing/broken references

This commit is contained in:
Mike Greiling 2017-01-06 12:46:56 -06:00
parent 0e4aaa06d3
commit eb1bbe73d0
33 changed files with 33 additions and 10 deletions

View file

@ -1,5 +1,6 @@
/* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, padded-blocks, max-len */ /* eslint-disable space-before-function-paren, no-var, comma-dangle, no-return-assign, padded-blocks, max-len */
require('../spec_helper');
require('behaviors/autosize'); require('behaviors/autosize');
(function() { (function() {

View file

@ -1,6 +1,6 @@
/* eslint-disable space-before-function-paren, no-var, no-return-assign, comma-dangle, jasmine/no-spec-dupes, new-cap, padded-blocks, max-len */ /* eslint-disable space-before-function-paren, no-var, no-return-assign, comma-dangle, jasmine/no-spec-dupes, new-cap, padded-blocks, max-len */
require('./spec_helper'); require('../spec_helper');
require('behaviors/quick_submit'); require('behaviors/quick_submit');
(function() { (function() {

View file

@ -1,6 +1,6 @@
/* eslint-disable space-before-function-paren, no-var, padded-blocks */ /* eslint-disable space-before-function-paren, no-var, padded-blocks */
require('./spec_helper'); require('../spec_helper');
require('behaviors/requires_input'); require('behaviors/requires_input');
(function() { (function() {

View file

@ -6,6 +6,7 @@
/* global listObj */ /* global listObj */
/* global listObjDuplicate */ /* global listObjDuplicate */
require('../spec_helper');
require('jquery_ujs'); require('jquery_ujs');
require('js.cookie'); require('js.cookie');
require('vue'); require('vue');

View file

@ -2,6 +2,7 @@
/* global BoardService */ /* global BoardService */
/* global ListIssue */ /* global ListIssue */
require('../spec_helper');
require('jquery_ujs'); require('jquery_ujs');
require('js.cookie'); require('js.cookie');
require('vue'); require('vue');

View file

@ -5,6 +5,7 @@
/* global List */ /* global List */
/* global listObj */ /* global listObj */
require('../spec_helper');
require('jquery_ujs'); require('jquery_ujs');
require('js.cookie'); require('js.cookie');
require('vue'); require('vue');

View file

@ -1,3 +1,4 @@
require('./spec_helper');
require('lib/utils/datetime_utility'); require('lib/utils/datetime_utility');
(() => { (() => {

View file

@ -1,6 +1,7 @@
/* eslint-disable no-extra-semi, jasmine/no-global-setup, dot-notation, jasmine/no-expect-in-setup-teardown, max-len */ /* eslint-disable no-extra-semi, jasmine/no-global-setup, dot-notation, jasmine/no-expect-in-setup-teardown, max-len */
/* global CommentsStore */ /* global CommentsStore */
require('./spec_helper');
require('diff_notes/models/discussion'); require('diff_notes/models/discussion');
require('diff_notes/models/note'); require('diff_notes/models/note');
require('diff_notes/stores/comments'); require('diff_notes/stores/comments');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue'); require('vue');
require('environments/components/environment_actions'); require('environments/components/environment_actions');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue'); require('vue');
require('environments/components/environment_external_url'); require('environments/components/environment_external_url');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue'); require('vue');
require('timeago'); require('timeago');
require('environments/components/environment_item'); require('environments/components/environment_item');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue'); require('vue');
require('environments/components/environment_rollback'); require('environments/components/environment_rollback');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue'); require('vue');
require('environments/components/environment_stop'); require('environments/components/environment_stop');

View file

@ -1,5 +1,6 @@
/* global environmentsList */ /* global environmentsList */
require('../spec_helper');
require('vue'); require('vue');
require('environments/stores/environments_store'); require('environments/stores/environments_store');
require('./mock_data'); require('./mock_data');

View file

@ -1,5 +1,6 @@
/* eslint-disable space-before-function-paren, no-var, padded-blocks */ /* eslint-disable space-before-function-paren, no-var, padded-blocks */
require('../spec_helper');
require('extensions/array'); require('extensions/array');
(function() { (function() {

View file

@ -1,3 +1,4 @@
require('../spec_helper');
require('extensions/element'); require('extensions/element');
(() => { (() => {

View file

@ -1,5 +1,6 @@
/* eslint-disable space-before-function-paren, no-var, padded-blocks */ /* eslint-disable space-before-function-paren, no-var, padded-blocks */
require('../spec_helper');
require('extensions/jquery'); require('extensions/jquery');
(function() { (function() {

View file

@ -1,3 +1,4 @@
require('../spec_helper');
require('extensions/object'); require('extensions/object');
describe('Object extensions', () => { describe('Object extensions', () => {

View file

@ -3,6 +3,7 @@
/* global ContributorsGraph */ /* global ContributorsGraph */
/* global ContributorsMasterGraph */ /* global ContributorsMasterGraph */
require('../spec_helper');
require('graphs/stat_graph_contributors_graph'); require('graphs/stat_graph_contributors_graph');
describe("ContributorsGraph", function () { describe("ContributorsGraph", function () {

View file

@ -1,6 +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 */ /* 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 */ /* global ContributorsStatGraphUtil */
require('../spec_helper');
require('graphs/stat_graph_contributors_util'); require('graphs/stat_graph_contributors_util');
describe("ContributorsStatGraphUtil", function () { describe("ContributorsStatGraphUtil", function () {

View file

@ -1,6 +1,7 @@
/* eslint-disable quotes, padded-blocks, semi */ /* eslint-disable quotes, padded-blocks, semi */
/* global StatGraph */ /* global StatGraph */
require('../spec_helper');
require('graphs/stat_graph'); require('graphs/stat_graph');
describe("StatGraph", function () { describe("StatGraph", function () {

View file

@ -1,4 +1,5 @@
/* eslint-disable space-before-function-paren, padded-blocks, no-var */ /* eslint-disable space-before-function-paren, padded-blocks, no-var */
require('./spec_helper'); require('./spec_helper');
require('header'); require('header');
require('lib/utils/text_utility'); require('lib/utils/text_utility');

View file

@ -1,6 +1,7 @@
/* global Issuable */ /* global Issuable */
/* global Turbolinks */ /* global Turbolinks */
require('./spec_helper');
require('issuable'); require('issuable');
require('turbolinks'); require('turbolinks');

View file

@ -1,3 +1,4 @@
require('../../spec_helper');
require('lib/utils/common_utils'); require('lib/utils/common_utils');
(() => { (() => {

View file

@ -1,5 +1,6 @@
/* eslint-disable space-before-function-paren, quotes, comma-dangle, dot-notation, indent, quote-props, no-var, padded-blocks, max-len */ /* eslint-disable space-before-function-paren, quotes, comma-dangle, dot-notation, indent, quote-props, no-var, padded-blocks, max-len */
require('./spec_helper');
require('merge_request_widget'); require('merge_request_widget');
require('lib/utils/datetime_utility'); require('lib/utils/datetime_utility');

View file

@ -1,5 +1,6 @@
/* eslint-disable no-new */ /* eslint-disable no-new */
require('./spec_helper');
require('flash'); require('flash');
require('mini_pipeline_graph_dropdown'); require('mini_pipeline_graph_dropdown');

View file

@ -1,6 +1,7 @@
/* eslint-disable space-before-function-paren, no-unused-expressions, no-var, object-shorthand, comma-dangle, semi, padded-blocks, max-len */ /* eslint-disable space-before-function-paren, no-unused-expressions, no-var, object-shorthand, comma-dangle, semi, padded-blocks, max-len */
/* global Notes */ /* global Notes */
require('./spec_helper');
window._ = require('underscore'); window._ = require('underscore');
require('notes'); require('notes');
require('vendor/autosize'); require('vendor/autosize');

View file

@ -1,3 +1,4 @@
require('./spec_helper');
require('pipelines'); require('pipelines');
(() => { (() => {

View file

@ -1,3 +1,4 @@
require('./spec_helper');
require('lib/utils/pretty_time'); require('lib/utils/pretty_time');
(() => { (() => {

View file

@ -1,4 +1,5 @@
/* eslint-disable space-before-function-paren, max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, comma-dangle, object-shorthand, prefer-template, quotes, new-parens, vars-on-top, new-cap, padded-blocks, max-len */ /* eslint-disable space-before-function-paren, max-len, no-var, one-var, one-var-declaration-per-line, no-unused-expressions, consistent-return, no-param-reassign, default-case, no-return-assign, comma-dangle, object-shorthand, prefer-template, quotes, new-parens, vars-on-top, new-cap, padded-blocks, max-len */
require('./spec_helper'); require('./spec_helper');
require('gl_dropdown'); require('gl_dropdown');
require('search_autocomplete'); require('search_autocomplete');

View file

@ -2,7 +2,7 @@
/* global MockU2FDevice */ /* global MockU2FDevice */
/* global U2FAuthenticate */ /* global U2FAuthenticate */
require('./spec_helper'); require('../spec_helper');
require('u2f/authenticate'); require('u2f/authenticate');
require('u2f/util'); require('u2f/util');
require('u2f/error'); require('u2f/error');

View file

@ -2,7 +2,7 @@
/* global MockU2FDevice */ /* global MockU2FDevice */
/* global U2FRegister */ /* global U2FRegister */
require('./spec_helper'); require('../spec_helper');
require('u2f/register'); require('u2f/register');
require('u2f/util'); require('u2f/util');
require('u2f/error'); require('u2f/error');

View file

@ -1,4 +1,4 @@
require('./spec_helper'); require('../spec_helper');
require('vue_common_component/commit'); require('vue_common_component/commit');
describe('Commit component', () => { describe('Commit component', () => {