Skip to content

Commit

Permalink
Fix failing unit tests after dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arnellebalane committed Nov 5, 2024
1 parent 9b2484b commit 1ebcf37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/search/components/SearchForm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('SearchForm', () => {
cy.mount(SearchForm);

cy.get('[data-cy="search-form"]').should('be.visible');
cy.get('[data-cy="search-form-tags-filter"]').select(0).invoke('val').should('equal', 'null');
cy.get('[data-cy="search-form-tags-filter"]').select(0).invoke('val').should('equal', '');
cy.get('[data-cy="search-form-tags-filter"]').select(1).invoke('val').should('equal', 'TagOne');
cy.get('[data-cy="search-form-tags-filter"]').select(2).invoke('val').should('equal', 'TagTwo');
});
Expand Down
1 change: 1 addition & 0 deletions src/features/todos/components/TodoListEmpty.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('TodoListEmpty', () => {
trigger: TRIGGERS.DROPPED_INTO_ZONE,
},
},
force: true,
});

cy.wrap(updateSpy).should(
Expand Down

0 comments on commit 1ebcf37

Please sign in to comment.