Skip to content

Commit

Permalink
chore: fix bad syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dfx-json committed Oct 23, 2024
1 parent 1de74cb commit 90f3bbd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/node/basic/mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ describe('call forwarding', () => {

// TODO: change Expiry logic rounding to make <= 1 minute expiry work
test('it should succeed when setting an expiry in the near future', async () => {
``;
const agent = await HttpAgent.create({
host: 'https://icp-api.io',
ingressExpiryInMinutes: 1,
Expand All @@ -162,7 +161,6 @@ test('it should succeed when setting an expiry in the near future', async () =>
});

test('it should succeed when setting an expiry in the future', async () => {
``;
const agent = await HttpAgent.create({
host: 'https://icp-api.io',
ingressExpiryInMinutes: 5,
Expand All @@ -186,6 +184,7 @@ test('it should fail when setting an expiry in the far future', async () => {
ingressExpiryInMinutes: 100,
}),
).rejects.toThrowError(`The maximum ingress expiry time is 5 minutes`);
});

test('it should allow you to set an incorrect root key', async () => {
const agent = HttpAgent.createSync({
Expand Down

0 comments on commit 90f3bbd

Please sign in to comment.