Skip to content
Snippets Groups Projects
Commit b7ddbf24 authored by Mike Greiling's avatar Mike Greiling
Browse files

ensure helper classes and constants are exposed globally

parent 7e7875b1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -56,3 +56,8 @@ const boardsMockInterceptor = (request, next) => {
status: 200
}));
};
window.listObj = listObj;
window.listObjDuplicate = listObjDuplicate;
window.BoardsMockData = BoardsMockData;
window.boardsMockInterceptor = boardsMockInterceptor;
/* eslint-disable no-unused-vars */
const environmentsList = [
{
id: 31,
Loading
Loading
@@ -134,6 +134,8 @@ const environmentsList = [
},
];
 
window.environmentsList = environmentsList;
const environment = {
id: 4,
name: 'production',
Loading
Loading
@@ -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;
/* eslint-disable no-unused-vars */
class ClassSpecHelper {
static itShouldBeAStaticMethod(base, method) {
return it('should be a static method', () => {
Loading
Loading
@@ -7,3 +5,5 @@ class ClassSpecHelper {
});
}
}
window.ClassSpecHelper = ClassSpecHelper;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment