Skip to content

Commit

Permalink
adjust formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoventurini committed Nov 7, 2023
1 parent 8a8963c commit 91649cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tests/hijack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
7 changes: 6 additions & 1 deletion tests/hijack/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 91649cc

Please sign in to comment.