Skip to content

Commit

Permalink
No test for no network definitions, mainnet now also supports this
Browse files Browse the repository at this point in the history
  • Loading branch information
WietseWind committed Mar 18, 2024
1 parent 8a11e5e commit 7082b83
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions test/network-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ describe("Network specific", () => {
}
);

it(
"should work [ WITHOUT ] definitions @ " + networkWithoutDefinitions,
async () => {
const client = new XrplClient(networkWithoutDefinitions);
await client.ready();
const definitions = await client.definitions();
await client.close();
return expect(definitions).toEqual(null);
}
);
// Disabled, s2 now also returns definitions
// it(
// "should work [ WITHOUT ] definitions @ " + networkWithoutDefinitions,
// async () => {
// const client = new XrplClient(networkWithoutDefinitions);
// await client.ready();
// const definitions = await client.definitions();
// await client.close();
// return expect(definitions).toEqual(null);
// }
// );
});
});

0 comments on commit 7082b83

Please sign in to comment.