Commit b7ddbf24 authored by Mike Greiling's avatar Mike Greiling

ensure helper classes and constants are exposed globally

parent 7e7875b1
...@@ -56,3 +56,8 @@ const boardsMockInterceptor = (request, next) => { ...@@ -56,3 +56,8 @@ const boardsMockInterceptor = (request, next) => {
status: 200 status: 200
})); }));
}; };
window.listObj = listObj;
window.listObjDuplicate = listObjDuplicate;
window.BoardsMockData = BoardsMockData;
window.boardsMockInterceptor = boardsMockInterceptor;
/* eslint-disable no-unused-vars */
const environmentsList = [ const environmentsList = [
{ {
id: 31, id: 31,
...@@ -134,6 +134,8 @@ const environmentsList = [ ...@@ -134,6 +134,8 @@ const environmentsList = [
}, },
]; ];
window.environmentsList = environmentsList;
const environment = { const environment = {
id: 4, id: 4,
name: 'production', name: 'production',
...@@ -147,3 +149,5 @@ const environment = { ...@@ -147,3 +149,5 @@ const environment = {
created_at: '2016-12-16T11:51:04.690Z', created_at: '2016-12-16T11:51:04.690Z',
updated_at: '2016-12-16T12:04:51.133Z', updated_at: '2016-12-16T12:04:51.133Z',
}; };
window.environment = environment;
/* eslint-disable no-unused-vars */
class ClassSpecHelper { class ClassSpecHelper {
static itShouldBeAStaticMethod(base, method) { static itShouldBeAStaticMethod(base, method) {
return it('should be a static method', () => { return it('should be a static method', () => {
...@@ -7,3 +5,5 @@ class ClassSpecHelper { ...@@ -7,3 +5,5 @@ class ClassSpecHelper {
}); });
} }
} }
window.ClassSpecHelper = ClassSpecHelper;
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