Skip to content

Commit a6df2e2

Browse files
committed
modify GetAvailableDatasetTypes.test.ts to account for concurrently running tests
1 parent 7f37fe1 commit a6df2e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/functional/datasets/GetDatasetAvailableDatasetTypes.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ describe('getDatasetAvailableDatasetTypes', () => {
2222
availableLicenses: []
2323
}
2424
]
25-
26-
expect(actualDatasetTypes).toEqual(expectedDatasetTypes)
25+
// check that the actual dataset types include the expected dataset types
26+
// (without requiring an exact match, since other dataset types may be created by concurrent tests)
27+
expect(actualDatasetTypes).toContain(expectedDatasetTypes)
2728
})
2829
})
2930
})

0 commit comments

Comments
 (0)