Skip to content

Commit

Permalink
chore: react 19 baby 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
fkhadra committed Dec 1, 2024
1 parent eb85710 commit c267a93
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 33 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"lint-staged": "^15.2.10",
"postcss": "^8.4.49",
"prettier": "3.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "19.0.0-rc.1",
"react-dom": "19.0.0-rc.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vite": "^6.0.1",
Expand Down
45 changes: 16 additions & 29 deletions pnpm-lock.yaml

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

3 changes: 1 addition & 2 deletions src/addons/use-notification-center/NotificationCenter.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ describe('NotificationCenter', () => {
});

it('mark as read a single notification', () => {
cy.findByTestId('unreadCount').should('contain.text', 0);
cy.findByTestId('count').should('contain.text', 0);
const id = toast('msg');
cy.resolveEntranceAnimation();

Expand All @@ -109,6 +107,7 @@ describe('NotificationCenter', () => {
cy.findByTestId(`read-${id}`).should('contain.text', false);

cy.findByTestId(`markAsRead-${id}`).click();

cy.findByTestId('unreadCount').should('contain.text', 0);
cy.findByTestId(`read-${id}`).should('contain.text', true);
});
Expand Down

0 comments on commit c267a93

Please sign in to comment.