Skip to content

Commit

Permalink
Fix a problem eslint was unhappy about.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Jan 23, 2020
1 parent c1dcb93 commit ac545fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/SwingSet/test/vat-admin/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ const serviceHolder = {

const brokenServiceHolder = {
build: () => {
function brokenMaker() {
return harden({});
}
return harden({});
},
};

Expand Down
2 changes: 1 addition & 1 deletion packages/SwingSet/test/vat-admin/test-innerVat.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function testBrokenVatCreation(t, withSES) {
await c.run();
t.deepEqual(c.dump().log, [
'starting brokenVat test',
'Error: cannot serialize non-objects like undefined',
'ReferenceError: harden is not defined',
]);
t.end();
}
Expand Down

0 comments on commit ac545fc

Please sign in to comment.