BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
b7ddbf24
Commit
b7ddbf24
authored
Feb 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure helper classes and constants are exposed globally
parent
7e7875b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
mock_data.js.es6
spec/javascripts/boards/mock_data.js.es6
+5
-0
mock_data.js.es6
spec/javascripts/environments/mock_data.js.es6
+5
-1
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;
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;
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;
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