Commit 288c8bce authored by George Tsiolis's avatar George Tsiolis

Update envirnoments app spec

parent 54327d0a
...@@ -169,9 +169,7 @@ describe('Environment', () => { ...@@ -169,9 +169,7 @@ describe('Environment', () => {
component.$el.querySelector('.folder-name').click(); component.$el.querySelector('.folder-name').click();
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(component.$el.querySelector('.folder-icon.ic-chevron-right')).toBe(null);
component.$el.querySelector('.folder-icon.ic-chevron-right').getAttribute('style'),
).toContain('display: none');
done(); done();
}); });
}, 0); }, 0);
...@@ -187,9 +185,7 @@ describe('Environment', () => { ...@@ -187,9 +185,7 @@ describe('Environment', () => {
component.$el.querySelector('.folder-name').click(); component.$el.querySelector('.folder-name').click();
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(component.$el.querySelector('.folder-icon.ic-chevron-down')).toBe(null);
component.$el.querySelector('.folder-icon.ic-chevron-down').getAttribute('style'),
).toContain('display: none');
done(); done();
}); });
}); });
......
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