Skip to content

Commit

Permalink
Update test-contract.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Muneeb147 committed Sep 6, 2024
1 parent 9ebd546 commit 70e9cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contract/test/test-contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const alice = async (t, zoe, instance, purse) => {
const currentTimeRecord = await E(timerService).getCurrentTimestamp();
const serviceType = 'Netflix';
const choiceBag = makeCopyBag([
[{ serviceStarted: currentTimeRecord.absValue, serviceType }, 1n],
[{ serviceType }, 1n],
]);

const proposal = {
Expand Down Expand Up @@ -130,7 +130,7 @@ const alice = async (t, zoe, instance, purse) => {
serviceType,
);

t.deepEqual(actualMovies, subscriptionMovies);
t.deepEqual(actualMovies, JSON.parse(subscriptionMovies));
};

test('Alice trades: give some play money, want subscription', async t => {
Expand Down

0 comments on commit 70e9cb8

Please sign in to comment.