Skip to content

Commit 6b96436

Browse files
committed
Update test comment
1 parent bb77da4 commit 6b96436

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/idempotency/tests/unit/IdempotencyHandler.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ describe('Class IdempotencyHandler', () => {
241241
});
242242

243243
it("allows execution when isReplay is true and there is IN PROGRESS record", async ()=> {
244-
// Arrange
244+
// Prepare
245245
// Mock saveInProgress to simulate an existing IN_PROGRESS record
246246
vi.spyOn(persistenceStore, 'saveInProgress')
247247
.mockRejectedValueOnce(
@@ -263,7 +263,7 @@ describe('Class IdempotencyHandler', () => {
263263
})
264264

265265
it("raises an IdempotencyAlreadyInProgressError error when isReplay is false and there is an IN PROGRESS record", async ()=> {
266-
// Arrange
266+
// Prepare
267267
// Mock saveInProgress to simulate an existing IN_PROGRESS record
268268
vi.spyOn(persistenceStore, 'saveInProgress')
269269
.mockRejectedValueOnce(
@@ -283,7 +283,7 @@ describe('Class IdempotencyHandler', () => {
283283

284284
it("returns the result of the original durable execution when another durable execution with the same payload is invoked", async () => {
285285

286-
// Arrange
286+
// Prepare
287287
vi.spyOn(
288288
persistenceStore,
289289
'saveInProgress'

0 commit comments

Comments
 (0)