Update unit test.
This commit is contained in:
parent
170952ce6c
commit
d7fcf34704
2 changed files with 4 additions and 2 deletions
|
|
@ -140,6 +140,9 @@ h5 {
|
||||||
color: $black;
|
color: $black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
p.light-gray {
|
||||||
|
color: $gray-550;
|
||||||
|
}
|
||||||
|
|
||||||
p.dark-gray {
|
p.dark-gray {
|
||||||
color: $darker-gray;
|
color: $darker-gray;
|
||||||
|
|
|
||||||
|
|
@ -26,13 +26,12 @@ describe('deductible-box', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('has the correct classes', () => {
|
it('has the correct classes', () => {
|
||||||
expect(wrapper.classes().length).toBe(6);
|
expect(wrapper.classes().length).toBe(5);
|
||||||
expect(wrapper.classes()).toContain('deductible-box');
|
expect(wrapper.classes()).toContain('deductible-box');
|
||||||
expect(wrapper.classes()).toContain('d-flex');
|
expect(wrapper.classes()).toContain('d-flex');
|
||||||
expect(wrapper.classes()).toContain('justify-content-between');
|
expect(wrapper.classes()).toContain('justify-content-between');
|
||||||
expect(wrapper.classes()).toContain('align-items-center');
|
expect(wrapper.classes()).toContain('align-items-center');
|
||||||
expect(wrapper.classes()).toContain('py-2');
|
expect(wrapper.classes()).toContain('py-2');
|
||||||
expect(wrapper.classes()).toContain('px-5');
|
|
||||||
});
|
});
|
||||||
it.each([
|
it.each([
|
||||||
['', ''],
|
['', ''],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue