Commit 14345b21 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix whitespace

parent b1ec3cb8
...@@ -11,8 +11,6 @@ ...@@ -11,8 +11,6 @@
* for more information. * for more information.
*/ */
const Store = gl.environmentsList.EnvironmentsStore;
window.gl = window.gl || {}; window.gl = window.gl || {};
window.gl.environmentsList = window.gl.environmentsList || {}; window.gl.environmentsList = window.gl.environmentsList || {};
......
...@@ -21,20 +21,16 @@ ...@@ -21,20 +21,16 @@
}); });
it('should count stopped environments and save the count in the state', () => { it('should count stopped environments and save the count in the state', () => {
expect(gl.environmentsList.EnvironmentsStore.state.stoppedCounter).toBe(1); expect(gl.environmentsList.EnvironmentsStore.state.stoppedCounter).toBe(1);
}); });
it('should count available environments and save the count in the state', () => { it('should count available environments and save the count in the state', () => {
expect(gl.environmentsList.EnvironmentsStore.state.availableCounter).toBe(2); expect(gl.environmentsList.EnvironmentsStore.state.availableCounter).toBe(2);
}); });
it('should store environments with same environment_type as sibilings', () => { it('should store environments with same environment_type as sibilings', () => {
expect(gl.environmentsList.EnvironmentsStore.state.environments.length).toBe(2); expect(gl.environmentsList.EnvironmentsStore.state.environments.length).toBe(2);
const parentFolder = gl.environmentsList.EnvironmentsStore.state.environments.filter((env) => { const parentFolder = gl.environmentsList.EnvironmentsStore.state.environments.filter((env) => {
return env.children && env.children.length > 0; return env.children && env.children.length > 0;
}); });
......
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