Skip to content

Commit

Permalink
Merge pull request #4386 from Agoric/1779-test-promises-logging
Browse files Browse the repository at this point in the history
chore(swingset): fix funky use of test.log in test-promises.js
  • Loading branch information
mergify[bot] authored Jan 26, 2022
2 parents 0df62af + add9589 commit d49cd68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/SwingSet/test/basedir-promises/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export function buildRootObject(vatPowers, vatParameters) {
bootstrap(vats) {
const mode = vatParameters.argv[0];
if (mode === 'flush') {
Promise.resolve().then(log('then1'));
Promise.resolve().then(log('then2'));
Promise.resolve('then1').then(log);
Promise.resolve('then2').then(log);
} else if (mode === 'e-then') {
E(vats.left)
.callRight(1, vats.right)
Expand Down

0 comments on commit d49cd68

Please sign in to comment.