Skip to content

Commit

Permalink
fix: more works
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Aug 14, 2022
1 parent 4a011b6 commit 0df9983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/store/test/test-interface-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test('how far-able is defineHeapKind', t => {
const bobIFace = I.interface('bob', {
foo: I.call(M.any()).returns(M.undefined()),
});
const makeBob = defineHeapKind(bobIFace, () => ({ field: 8 }), {
const makeBob = defineHeapKind(bobIFace, field => ({ field }), {
foo: ({ state, self }, carol) => {
t.is(state.field, 8);
t.is(typeof self.foo, 'function');
Expand All @@ -20,7 +20,7 @@ test('how far-able is defineHeapKind', t => {
t.is(carol, 77);
},
});
const bob = makeBob();
const bob = makeBob(8);
t.is(passStyleOf(bob), 'remotable');
bob.foo(77);
});

0 comments on commit 0df9983

Please sign in to comment.