Skip to content

Commit

Permalink
chore: update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Mar 27, 2024
1 parent 0da9164 commit 0369f57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ describe('Generate expectations - NRK', () => {
Expectation.Type.FILE_COPY,
Expectation.Type.PACKAGE_SCAN,
Expectation.Type.PACKAGE_SCAN,
Expectation.Type.PACKAGE_LOUDNESS_SCAN,
Expectation.Type.PACKAGE_LOUDNESS_SCAN,
// The order of the rest aren't as important:
Expectation.Type.MEDIA_FILE_THUMBNAIL,
Expectation.Type.MEDIA_FILE_PREVIEW,
Expectation.Type.MEDIA_FILE_THUMBNAIL,
Expectation.Type.PACKAGE_DEEP_SCAN,
Expectation.Type.MEDIA_FILE_PREVIEW,
Expectation.Type.PACKAGE_DEEP_SCAN,
Expectation.Type.PACKAGE_LOUDNESS_SCAN,
Expectation.Type.PACKAGE_LOUDNESS_SCAN,
])
})
})
Expand Down
4 changes: 2 additions & 2 deletions tests/internal-tests/src/__tests__/issues.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ describeForAllPlatforms(
await waitTime(env.WAIT_SCAN_TIME)

await waitUntil(() => {
// Expect the Expectation to be waiting -> new:
// Expect the Expectation to be waiting:
expect(env.expectationStatuses[EXP_copy0]).toMatchObject({
actualVersionHash: null,
statusInfo: {
status: 'new',
status: 'waiting',
statusReason: {
tech: expect.stringMatching(/Not able to write to container folder.*write access denied/i),
},
Expand Down

0 comments on commit 0369f57

Please sign in to comment.