Skip to content

Commit

Permalink
Updated snapshots in Jest Test Suite #10 to account for the recent Eu…
Browse files Browse the repository at this point in the history
…iButton Emotion conversion
  • Loading branch information
breehall committed Sep 29, 2022
1 parent b52a9c8 commit aa1db4d
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Discover tour', () => {
expect(component.find(EuiTourStep)).toHaveLength(0);

// one step should become visible after the tour is triggered
component.find(`[data-test-subj="${buttonSubjToTestStart}"]`).at(0).simulate('click');
component.find(`button[data-test-subj="${buttonSubjToTestStart}"]`).at(0).simulate('click');

expect(component.find(EuiTourStep)).toHaveLength(5);
expect(
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ describe('NewCalendar', () => {
const wrapper = mountWithIntl(<NewCalendar {...props} />);

const importButton = wrapper.find('[data-test-subj="mlCalendarNewEventButton"]');
const button = importButton.find('EuiButton');
const button = importButton.find('EuiButton button');
button.simulate('click');

expect(button.prop('isDisabled')).toBe(true);
expect(button.prop('disabled')).toBe(true);
});

test('isDuplicateId returns true if form calendar id already exists in calendars', () => {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa1db4d

Please sign in to comment.