Commit b0341c14 authored by Mike Greiling's avatar Mike Greiling

move additional libraries into spec_helper

parent 52c6702e
/* eslint-disable no-unused-expressions, comma-spacing, prefer-const, no-prototype-builtins, semi, no-new, keyword-spacing, no-plusplus, no-shadow, max-len */
window.Cookies = require('vendor/js.cookie');
require('vendor/jquery.endless-scroll.js');
require('pager');
require('activities');
......
......@@ -2,7 +2,6 @@
/* global AwardsHandler */
require('awards_handler');
window.Cookies = require('vendor/js.cookie');
require('./fixtures/emoji_menu');
(function() {
......
......@@ -6,10 +6,6 @@
/* global listObj */
/* global listObjDuplicate */
require('jquery-ujs');
window.Cookies = require('vendor/js.cookie');
window.Vue = require('vue');
window.Vue.use(require('vue-resource'));
require('lib/utils/url_utility');
require('boards/models/issue');
require('boards/models/label');
......
......@@ -2,10 +2,6 @@
/* global BoardService */
/* global ListIssue */
require('jquery-ujs');
window.Cookies = require('vendor/js.cookie');
window.Vue = require('vue');
window.Vue.use(require('vue-resource'));
require('lib/utils/url_utility');
require('boards/models/issue');
require('boards/models/label');
......
......@@ -5,10 +5,6 @@
/* global List */
/* global listObj */
require('jquery-ujs');
window.Cookies = require('vendor/js.cookie');
window.Vue = require('vue');
window.Vue.use(require('vue-resource'));
require('lib/utils/url_utility');
require('boards/models/issue');
require('boards/models/label');
......
/* eslint-disable no-new, padded-blocks */
require('sidebar');
window.Cookies = require('vendor/js.cookie');
require('lib/utils/text_utility');
((global) => {
......
window.Vue = require('vue');
require('environments/components/environment_actions');
describe('Actions Component', () => {
......
window.Vue = require('vue');
require('environments/components/environment_external_url');
describe('External URL Component', () => {
......
window.Vue = require('vue');
window.timeago = require('vendor/timeago');
require('environments/components/environment_item');
......
window.Vue = require('vue');
require('environments/components/environment_rollback');
describe('Rollback Component', () => {
......
window.Vue = require('vue');
require('environments/components/environment_stop');
describe('Stop Component', () => {
......
/* global environmentsList */
window.Vue = require('vue');
require('environments/stores/environments_store');
require('./mock_data');
......
......@@ -2,7 +2,6 @@
/* global Sidebar */
require('right_sidebar');
window.Cookies = require('vendor/js.cookie');
require('extensions/jquery.js');
(function() {
......
......@@ -3,6 +3,10 @@ require('jasmine-jquery');
// include common libraries
window.$ = window.jQuery = require('jquery');
window._ = require('underscore');
window.Cookies = require('vendor/js.cookie');
window.Vue = require('vue');
window.Vue.use(require('vue-resource'));
require('jquery-ujs');
require('vendor/turbolinks');
require('vendor/jquery.turbolinks');
require('bootstrap/js/affix');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment