Skip to content

Commit 4c0da86

Browse files
committed
fix(tests): simplify test syntax
1 parent 1930dea commit 4c0da86

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

packages/e2e/src/e2e.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,17 +270,15 @@ describe('all', () => {
270270
* relying on the ad-hoc ticket test.
271271
*/
272272
describe('server reuse flow', () => {
273-
it(
274-
'should sign using materials shipped over the wire',
273+
it('should sign using materials shipped over the wire', () =>
275274
createPregenDelegationServerReuseTest({
276275
authManager: ctx.authManager,
277276
authData: ctx.aliceViemAccountAuthData,
278277
pkpPublicKey: ctx.aliceViemAccountPkp.pubkey,
279278
clientLitClient: ctx.litClient,
280279
fallbackLitClient: ctx.litClient,
281280
resolvedNetwork: ctx.resolvedNetwork,
282-
})
283-
);
281+
})());
284282
});
285283
});
286284

packages/e2e/src/tickets/jss36-pregen-delegation.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ describe('PKP Auth with Pre-generated Materials', () => {
88
ctx = await initFast();
99
});
1010

11-
test('Try to pregen', async () => {
12-
await createPregenDelegationServerReuseTest({
11+
test('Try to pregen', async () =>
12+
createPregenDelegationServerReuseTest({
1313
authManager: ctx.authManager,
1414
authData: ctx.aliceViemAccountAuthData,
1515
pkpPublicKey: ctx.aliceViemAccountPkp.pubkey,
1616
clientLitClient: ctx.litClient,
1717
fallbackLitClient: ctx.litClient,
1818
resolvedNetwork: ctx.resolvedNetwork,
19-
})();
20-
});
19+
})());
2120
});

0 commit comments

Comments
 (0)