File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/idempotency/tests/unit Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments