Skip to content

Commit

Permalink
fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed Sep 10, 2023
1 parent 13efc37 commit 1a6e907
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/datanft.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ describe('Data NFT test', () => {
'https://api.itheumcloud-stg.com/datamarshalapi/achilles/v1'
});

await dataNft.viewData(
'x',
new SignableMessage({ message: Buffer.from('test') }),
true
);
await dataNft.viewData({
signedMessage: 'x',
signableMessage: new SignableMessage({ message: Buffer.from('test') }),
stream: true
});
} catch (error) {
if (error instanceof Error) {
expect(error.message).toBe(
Expand Down

0 comments on commit 1a6e907

Please sign in to comment.