Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/integration/collections/CollectionsRepository.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ describe('CollectionsRepository', () => {

describe('getCollectionItems for published tabular file', () => {
let testDatasetIds: CreatedDatasetIdentifiers
const testTextFile4Name = 'test-file-4.tab'
const testTextFile4Name = 'test-file-4.tsv'

Copilot AI Apr 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testTextFile4Name was changed to test-file-4.tsv, but the test fixture that uploadFileViaApi reads from test/testHelpers/files is test-file-4.tab (no .tsv exists). This will cause readFile(${__dirname}/${fileName}) to fail and also makes the later expectation expectedFileName = 'test-file-4.tab' inconsistent. Either revert to .tab or add the .tsv fixture and update the expected filename/assertions accordingly.

Suggested change
const testTextFile4Name = 'test-file-4.tsv'
const testTextFile4Name = 'test-file-4.tab'

Copilot uses AI. Check for mistakes.
const testSubCollectionAlias = 'collectionsRepositoryTestSubCollection'

beforeAll(async () => {
Expand Down
Loading