@@ -233,7 +233,7 @@ describe(`Transactions`, () => {
233233  } ) 
234234  it ( `commit() should throw errors when mutation function fails` ,  async  ( )  =>  { 
235235    const  tx  =  createTransaction ( { 
236-       mutationFn : async   ( )  =>  { 
236+       mutationFn : ( )  =>  { 
237237        throw  new  Error ( `API failed` ) 
238238      } , 
239239      autoCommit : false , 
@@ -269,7 +269,7 @@ describe(`Transactions`, () => {
269269  it ( `commit() and isPersisted.promise should reject with the same error instance` ,  async  ( )  =>  { 
270270    const  originalError  =  new  Error ( `Original API error` ) 
271271    const  tx  =  createTransaction ( { 
272-       mutationFn : async   ( )  =>  { 
272+       mutationFn : ( )  =>  { 
273273        throw  originalError 
274274      } , 
275275      autoCommit : false , 
@@ -315,7 +315,7 @@ describe(`Transactions`, () => {
315315
316316  it ( `should handle non-Error throwables (strings)` ,  async  ( )  =>  { 
317317    const  tx  =  createTransaction ( { 
318-       mutationFn : async   ( )  =>  { 
318+       mutationFn : ( )  =>  { 
319319        throw  `string error` 
320320      } , 
321321      autoCommit : false , 
@@ -355,7 +355,7 @@ describe(`Transactions`, () => {
355355
356356  it ( `should handle non-Error throwables (numbers, objects)` ,  async  ( )  =>  { 
357357    const  tx  =  createTransaction ( { 
358-       mutationFn : async   ( )  =>  { 
358+       mutationFn : ( )  =>  { 
359359        throw  42 
360360      } , 
361361      autoCommit : false , 
@@ -371,7 +371,7 @@ describe(`Transactions`, () => {
371371    } 
372372
373373    const  tx2  =  createTransaction ( { 
374-       mutationFn : async   ( )  =>  { 
374+       mutationFn : ( )  =>  { 
375375        throw  {  code : `ERR_FAILED` ,  details : `Something went wrong`  } 
376376      } , 
377377      autoCommit : false , 
@@ -405,7 +405,7 @@ describe(`Transactions`, () => {
405405
406406  it ( `should throw TransactionNotPendingCommitError when commit() is called on failed transaction` ,  async  ( )  =>  { 
407407    const  tx  =  createTransaction ( { 
408-       mutationFn : async   ( )  =>  { 
408+       mutationFn : ( )  =>  { 
409409        throw  new  Error ( `Failed` ) 
410410      } , 
411411      autoCommit : false , 
@@ -440,7 +440,7 @@ describe(`Transactions`, () => {
440440  it ( `should handle cascading rollbacks with proper error propagation` ,  async  ( )  =>  { 
441441    const  originalError  =  new  Error ( `Primary transaction failed` ) 
442442    const  tx1  =  createTransaction ( { 
443-       mutationFn : async   ( )  =>  { 
443+       mutationFn : ( )  =>  { 
444444        throw  originalError 
445445      } , 
446446      autoCommit : false , 
0 commit comments