Commit 6920bfd1 authored by George Tsiolis's avatar George Tsiolis

Update environment specs to match icons used in EnvironmentItem component

parent e8a4333e
...@@ -170,10 +170,10 @@ describe('Environment', () => { ...@@ -170,10 +170,10 @@ describe('Environment', () => {
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(
component.$el.querySelector('.folder-icon.ic-angle-right').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-chevron-right').getAttribute('style'),
).toContain('display: none'); ).toContain('display: none');
expect( expect(
component.$el.querySelector('.folder-icon.ic-angle-down').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-chevron-down').getAttribute('style'),
).not.toContain('display: none'); ).not.toContain('display: none');
done(); done();
}); });
...@@ -191,10 +191,10 @@ describe('Environment', () => { ...@@ -191,10 +191,10 @@ describe('Environment', () => {
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(
component.$el.querySelector('.folder-icon.ic-angle-down').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-chevron-down').getAttribute('style'),
).toContain('display: none'); ).toContain('display: none');
expect( expect(
component.$el.querySelector('.folder-icon.ic-angle-right').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-chevron-right').getAttribute('style'),
).not.toContain('display: none'); ).not.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