diff --git a/tests/hijack/base.js b/tests/hijack/base.js index 8202a392..94732122 100644 --- a/tests/hijack/base.js +++ b/tests/hijack/base.js @@ -13,7 +13,12 @@ addAsyncTest( let events = getLastMethodEvents([0, 2, 3]); - let expected = [['start',{userId: null,params: '[10,"abc"]'}],['wait',{waitOn: []},{at: 1,endAt: 1}],['db',{coll: 'tinytest-data',func: 'insertAsync'},{at: 1,endAt: 1}],['complete']]; + let expected = [ + ['start',{userId: null,params: '[10,"abc"]'}], + ['wait',{waitOn: []},{at: 1,endAt: 1}], + ['db',{coll: 'tinytest-data',func: 'insertAsync'},{at: 1,endAt: 1}], + ['complete'] + ]; test.stableEqual(events, expected); } diff --git a/tests/hijack/user.js b/tests/hijack/user.js index 22b43ab5..cd789f93 100644 --- a/tests/hijack/user.js +++ b/tests/hijack/user.js @@ -14,7 +14,12 @@ addAsyncTest( let events = getLastMethodEvents([0, 2, 3]); - let expected = [['start',{userId: null,params: '[]'}],['wait',{waitOn: []},{at: 1,endAt: 1}],['db',{coll: 'tinytest-data',func: 'insertAsync'},{at: 1,endAt: 1}],['complete']]; + let expected = [ + ['start',{userId: null,params: '[]'}], + ['wait',{waitOn: []},{at: 1,endAt: 1}], + ['db',{coll: 'tinytest-data',func: 'insertAsync'},{at: 1,endAt: 1}], + ['complete'] + ]; test.stableEqual(events, expected); }