Skip to content

Commit e08ab70

Browse files
committed
type fix
1 parent 107a487 commit e08ab70

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/plugins/dashboard/public/application/actions/add_to_library_action.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ beforeEach(async () => {
8787
});
8888

8989
test('Add to library is incompatible with Error Embeddables', async () => {
90-
const action = new AddToLibraryAction({ toasts: coreStart.notifications.toasts });
90+
const action = new AddToLibraryAction();
9191
const errorEmbeddable = new ErrorEmbeddable(
9292
'Wow what an awful error',
9393
{ id: ' 404' },

src/plugins/dashboard/public/application/actions/library_notification_action.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ beforeEach(async () => {
8181
});
8282

8383
test('Notification is incompatible with Error Embeddables', async () => {
84-
const action = new LibraryNotificationAction(unlinkAction);
84+
const action = new LibraryNotificationAction();
8585
const errorEmbeddable = new ErrorEmbeddable(
8686
'Wow what an awful error',
8787
{ id: ' 404' },

src/plugins/dashboard/public/application/actions/unlink_from_library_action.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ beforeEach(async () => {
8585
});
8686

8787
test('Unlink is incompatible with Error Embeddables', async () => {
88-
const action = new UnlinkFromLibraryAction({ toasts: coreStart.notifications.toasts });
88+
const action = new UnlinkFromLibraryAction();
8989
const errorEmbeddable = new ErrorEmbeddable(
9090
'Wow what an awful error',
9191
{ id: ' 404' },

0 commit comments

Comments
 (0)