Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 28, 2025
1 parent c3c82b5 commit e4c9f5b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ describe('lib/mediaObjects', () => {
expect(mediaId3).toEqual(undefined)
})

test('checkPieceContentStatus', async () => {
test.only('checkPieceContentStatus', async () => {

Check failure on line 246 in meteor/server/publications/pieceContentStatusUI/__tests__/checkPieceContentStatus.test.ts

View workflow job for this annotation

GitHub Actions / Typecheck and Lint Core

Unexpected focused test
const mockStudioSettings: IStudioSettings = {
supportedMediaFormats: '1920x1080i5000, 1280x720, i5000, i5000tff',
mediaPreviewsUrl: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,10 @@ async function checkPieceContentMediaObjectStatus(
for (const message of newMessages) {
messages.push({
status: message.status,
message: messageFactory.getTranslation(
PackageStatusMessage.FILE_NOT_YET_READY_ON_PLAYOUT_SYSTEM,
{
...messageRequiredArgs,
...message.extraArgs,
}
),
message: messageFactory.getTranslation(message.message, {
...messageRequiredArgs,
...message.extraArgs,
}),
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/corelib/src/dataModel/Blueprint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface Blueprint {
/** Whether the blueprint this wraps has a `fixUpConfig` function defined */
hasFixUpFunction: boolean

/**
/**
* The blueprint provided alternate package status messages, if any were provided
* Any undefined/unset values will use the system default messages.
* Any empty strings will suppress the message from being shown.
Expand Down
2 changes: 1 addition & 1 deletion packages/shared-lib/src/packageStatusMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* - pieceName: The name of the piece the package belongs to
* - fileName: The name of the file
* - containerLabels: The labels of the container(s) that report this status
*
*
* For statuses not reported by Package Manager, the `containerLabels` will be an empty string.
*/
export enum PackageStatusMessage {
Expand Down

0 comments on commit e4c9f5b

Please sign in to comment.