Skip to content

Commit

Permalink
fix ActiveRecordingTable.test
Browse files Browse the repository at this point in the history
  • Loading branch information
aali309 committed Apr 17, 2024
1 parent cd1f360 commit 92bb13f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/Archives/AllArchivedRecordingsTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { AllArchivedRecordingsTable } from '@app/Archives/AllArchivedRecordingsT
import { NotificationMessage, ArchivedRecording, RecordingDirectory } from '@app/Shared/Services/api.types';
import { defaultServices } from '@app/Shared/Services/Services';
import '@testing-library/jest-dom';
import { cleanup, screen, within } from '@testing-library/react';
import { cleanup, screen, within, waitFor } from '@testing-library/react';
import { of } from 'rxjs';
import { render, renderSnapshot } from '../utils';

Expand Down
6 changes: 4 additions & 2 deletions src/test/Recordings/ActiveRecordingsTable.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ const mockCreateNotification = {
const mockLabelsNotification = {
message: {
target: mockConnectUrl,
recordingName: 'someRecording',
recording: {
name: 'someRecording',
metadata: { labels: [{ key: 'someLabel', value: 'someUpdatedValue' }] }
},
jvmId: mockJvmId,
metadata: { labels: [{ key: 'someLabel', value: 'someUpdatedValue' }] },
},
} as NotificationMessage;
const mockStopNotification = {
Expand Down

0 comments on commit 92bb13f

Please sign in to comment.