Skip to content

Commit

Permalink
update jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Aug 21, 2023
1 parent 273728d commit ffdcd9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,13 @@ describe('<SnapshotRestoreHome />', () => {
test('should display an empty prompt', () => {
const { exists } = testBed;

expect(exists('emptyPrompt')).toBe(true);
expect(exists('snapshotListEmpty')).toBe(true);
});

test('should invite the user to first register a repository', () => {
const { find, exists } = testBed;
expect(find('emptyPrompt.title').text()).toBe('Start by registering a repository');
expect(exists('emptyPrompt.registerRepositoryButton')).toBe(true);
expect(find('snapshotListEmpty.title').text()).toBe('Start by registering a repository');
expect(exists('snapshotListEmpty.registerRepositoryButton')).toBe(true);
});
});

Expand Down

0 comments on commit ffdcd9d

Please sign in to comment.