Skip to content

Commit

Permalink
Merge branch 'master' into add-notification-new-signature
Browse files Browse the repository at this point in the history
  • Loading branch information
WiXSL committed Oct 14, 2021
2 parents 056c053 + 90899d0 commit 415b742
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/ra-core/src/sideEffect/useNotify.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,6 @@ const Notification = ({
};

describe('useNotify', () => {
it('should show a notification message of type "warning"', () => {
const { dispatch } = renderWithRedux(
<Notification
type="warning"
message="Notification message"
autoHideDuration={4000}
multiLine={false}
shortSignature
/>
);

expect(dispatch).toHaveBeenCalledTimes(1);
});

it('should show a multiline notification message', () => {
const { dispatch } = renderWithRedux(
<Notification
Expand Down

0 comments on commit 415b742

Please sign in to comment.