Skip to content

Commit

Permalink
Improve test readability
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaStoeva committed Jan 18, 2023
1 parent 90362d7 commit 2c61281
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,10 @@ describe('<AutoFollowPatternList />', () => {
test('should have a "settings" section', () => {
actions.clickAutoFollowPatternAt(0);
expect(find('settingsSection').find('h3').text()).toEqual('Settings');
expect(exists('settingsValues', 4)).toBe(true);

// The number of different settings of an auto-follower pattern
const AVAILABLE_SETTINGS = 4;
expect(find('settingsValues').length).toBe(AVAILABLE_SETTINGS);
});

test('should set the correct auto-follow pattern settings values', () => {
Expand Down

0 comments on commit 2c61281

Please sign in to comment.