Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b0341c14
Commit
b0341c14
authored
Jan 06, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move additional libraries into spec_helper
parent
52c6702e
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
4 additions
and
22 deletions
+4
-22
spec/javascripts/activities_spec.js.es6
spec/javascripts/activities_spec.js.es6
+0
-1
spec/javascripts/awards_handler_spec.js
spec/javascripts/awards_handler_spec.js
+0
-1
spec/javascripts/boards/boards_store_spec.js.es6
spec/javascripts/boards/boards_store_spec.js.es6
+0
-4
spec/javascripts/boards/issue_spec.js.es6
spec/javascripts/boards/issue_spec.js.es6
+0
-4
spec/javascripts/boards/list_spec.js.es6
spec/javascripts/boards/list_spec.js.es6
+0
-4
spec/javascripts/dashboard_spec.js.es6
spec/javascripts/dashboard_spec.js.es6
+0
-1
spec/javascripts/environments/environment_actions_spec.js.es6
.../javascripts/environments/environment_actions_spec.js.es6
+0
-1
spec/javascripts/environments/environment_external_url_spec.js.es6
...scripts/environments/environment_external_url_spec.js.es6
+0
-1
spec/javascripts/environments/environment_item_spec.js.es6
spec/javascripts/environments/environment_item_spec.js.es6
+0
-1
spec/javascripts/environments/environment_rollback_spec.js.es6
...javascripts/environments/environment_rollback_spec.js.es6
+0
-1
spec/javascripts/environments/environment_stop_spec.js.es6
spec/javascripts/environments/environment_stop_spec.js.es6
+0
-1
spec/javascripts/environments/environments_store_spec.js.es6
spec/javascripts/environments/environments_store_spec.js.es6
+0
-1
spec/javascripts/right_sidebar_spec.js
spec/javascripts/right_sidebar_spec.js
+0
-1
spec/javascripts/spec_helper.js
spec/javascripts/spec_helper.js
+4
-0
No files found.
spec/javascripts/activities_spec.js.es6
View file @
b0341c14
/* 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');
...
...
spec/javascripts/awards_handler_spec.js
View file @
b0341c14
...
...
@@ -2,7 +2,6 @@
/* global AwardsHandler */
require
(
'
awards_handler
'
);
window
.
Cookies
=
require
(
'
vendor/js.cookie
'
);
require
(
'
./fixtures/emoji_menu
'
);
(
function
()
{
...
...
spec/javascripts/boards/boards_store_spec.js.es6
View file @
b0341c14
...
...
@@ -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');
...
...
spec/javascripts/boards/issue_spec.js.es6
View file @
b0341c14
...
...
@@ -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');
...
...
spec/javascripts/boards/list_spec.js.es6
View file @
b0341c14
...
...
@@ -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');
...
...
spec/javascripts/dashboard_spec.js.es6
View file @
b0341c14
/* eslint-disable no-new, padded-blocks */
require('sidebar');
window.Cookies = require('vendor/js.cookie');
require('lib/utils/text_utility');
((global) => {
...
...
spec/javascripts/environments/environment_actions_spec.js.es6
View file @
b0341c14
window.Vue = require('vue');
require('environments/components/environment_actions');
describe('Actions Component', () => {
...
...
spec/javascripts/environments/environment_external_url_spec.js.es6
View file @
b0341c14
window.Vue = require('vue');
require('environments/components/environment_external_url');
describe('External URL Component', () => {
...
...
spec/javascripts/environments/environment_item_spec.js.es6
View file @
b0341c14
window.Vue = require('vue');
window.timeago = require('vendor/timeago');
require('environments/components/environment_item');
...
...
spec/javascripts/environments/environment_rollback_spec.js.es6
View file @
b0341c14
window.Vue = require('vue');
require('environments/components/environment_rollback');
describe('Rollback Component', () => {
...
...
spec/javascripts/environments/environment_stop_spec.js.es6
View file @
b0341c14
window.Vue = require('vue');
require('environments/components/environment_stop');
describe('Stop Component', () => {
...
...
spec/javascripts/environments/environments_store_spec.js.es6
View file @
b0341c14
/* global environmentsList */
window.Vue = require('vue');
require('environments/stores/environments_store');
require('./mock_data');
...
...
spec/javascripts/right_sidebar_spec.js
View file @
b0341c14
...
...
@@ -2,7 +2,6 @@
/* global Sidebar */
require
(
'
right_sidebar
'
);
window
.
Cookies
=
require
(
'
vendor/js.cookie
'
);
require
(
'
extensions/jquery.js
'
);
(
function
()
{
...
...
spec/javascripts/spec_helper.js
View file @
b0341c14
...
...
@@ -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
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment