Skip to content

Commit adde7b1

Browse files
authored
♻️ refactor: test cases titles to be more descriptive (#69)
1 parent a2be365 commit adde7b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/repository/src/network/sync.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ describe("SyncMap", () => {
2222
})
2323
})
2424

25-
it("Given one destination ID, When SyncMap is created, Then SyncMap has one destination", ({
25+
it("Given one destination ID, When SyncMap is created, Then status for the ID is false", ({
2626
syncMapDestinationId: destinationId,
2727
}) => {
2828
const syncMap = new SyncMap([destinationId])
2929

3030
expect(syncMap.checkStatus(destinationId)).toBe(false)
3131
})
3232

33-
it("Given two the same destination IDs, When SyncMap is created, Then SyncMap has one destination", ({
33+
it("Given two the same destination IDs, When SyncMap is created, Then status for the ID is false", ({
3434
syncMapDestinationId: destinationId,
3535
}) => {
3636
const syncMap = new SyncMap([destinationId, destinationId])
3737

3838
expect(syncMap.checkStatus(destinationId)).toBe(false)
3939
})
4040

41-
it("Given couple destination IDs, When SyncMap is created, Then SyncMap has many destinations", ({
41+
it("Given multiple destination IDs, When SyncMap is created, Then status for each ID is false", ({
4242
syncMapDestinationId: firstDestinationId,
4343
}) => {
4444
const secondDestinationId = makeSyncKey("other-destination-id")

0 commit comments

Comments
 (0)