Skip to content

Commit

Permalink
feat(google): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarulg committed Oct 18, 2024
1 parent 244ca86 commit f37e74a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Component: mapObjectEditor', function () {
expect(dom.find('textarea').length).toBe(2);

expect(dom.find('input').get(0).value).toBe('foo');
expect(dom.find('textarea').get(0).value).toBe(JSON.stringify({ bar: 'baz' }));
expect(dom.find('textarea').get(0).value).toBe({ bar: 'baz' });
expect(dom.find('input').get(1).value).toBe('bah');
expect(dom.find('textarea').get(1).value).toBe('11');
});
Expand Down Expand Up @@ -118,7 +118,7 @@ describe('Component: mapObjectEditor', function () {

expect($(dom.find('tbody tr')).length).toBe(1);
expect(dom.find('input').get(0).value).toBe('b');
expect(dom.find('textarea').get(0).value).toBe(JSON.stringify({ foo: 'bar' }));
expect(dom.find('textarea').get(0).value).toBe({ foo: 'bar' });
});
});
});

0 comments on commit f37e74a

Please sign in to comment.