Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoker authored and sdirix committed May 5, 2022
1 parent 416ac79 commit 3074e33
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe('EnumArrayControl', () => {
);
const labels = wrapper.find('label');
expect(labels.first().text()).toBe('My Title');
expect(labels.last().text()).toBe('Bar');
expect(labels.last().text()).toBe('bar');
});

test('oneOf items - updates data', (done) => {
Expand Down Expand Up @@ -176,9 +176,9 @@ describe('EnumArrayControl', () => {
/>
);
const labels = wrapper.find('label');
expect(labels.at(0).text()).toBe('A');
expect(labels.at(1).text()).toBe('B');
expect(labels.at(2).text()).toBe('C');
expect(labels.at(0).text()).toBe('a');
expect(labels.at(1).text()).toBe('b');
expect(labels.at(2).text()).toBe('c');
});

test('enum items - updates data', (done) => {
Expand Down

0 comments on commit 3074e33

Please sign in to comment.