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
Tatuya Kamada
gitlab-ce
Commits
b7ddbf24
Commit
b7ddbf24
authored
8 years ago
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure helper classes and constants are exposed globally
parent
7e7875b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
spec/javascripts/boards/mock_data.js.es6
spec/javascripts/boards/mock_data.js.es6
+5
-0
spec/javascripts/environments/mock_data.js.es6
spec/javascripts/environments/mock_data.js.es6
+5
-1
spec/javascripts/helpers/class_spec_helper.js.es6
spec/javascripts/helpers/class_spec_helper.js.es6
+2
-2
No files found.
spec/javascripts/boards/mock_data.js.es6
View file @
b7ddbf24
...
...
@@ -56,3 +56,8 @@ const boardsMockInterceptor = (request, next) => {
status: 200
}));
};
window.listObj = listObj;
window.listObjDuplicate = listObjDuplicate;
window.BoardsMockData = BoardsMockData;
window.boardsMockInterceptor = boardsMockInterceptor;
This diff is collapsed.
Click to expand it.
spec/javascripts/environments/mock_data.js.es6
View file @
b7ddbf24
/* eslint-disable no-unused-vars */
const environmentsList = [
{
id: 31,
...
...
@@ -134,6 +134,8 @@ const environmentsList = [
},
];
window.environmentsList = environmentsList;
const environment = {
id: 4,
name: 'production',
...
...
@@ -147,3 +149,5 @@ const environment = {
created_at: '2016-12-16T11:51:04.690Z',
updated_at: '2016-12-16T12:04:51.133Z',
};
window.environment = environment;
This diff is collapsed.
Click to expand it.
spec/javascripts/helpers/class_spec_helper.js.es6
View file @
b7ddbf24
/* eslint-disable no-unused-vars */
class ClassSpecHelper {
static itShouldBeAStaticMethod(base, method) {
return it('should be a static method', () => {
...
...
@@ -7,3 +5,5 @@ class ClassSpecHelper {
});
}
}
window.ClassSpecHelper = ClassSpecHelper;
This diff is collapsed.
Click to expand it.
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