Skip to content

Commit ae70dcd

Browse files
committed
fix: unit tests
1 parent fa0894e commit ae70dcd

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

packages/event-listener/src/lib/state-machine.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jest.mock('@lit-protocol/lit-node-client', () => ({
1919

2020
const litContracts = new LitContracts();
2121
const litNodeClient = new LitNodeClient({
22-
litNetwork: LIT_NETWORK.DatilDev,
22+
litNetwork: LIT_NETWORK.NagaDev,
2323
});
2424
const stateMachineParams: BaseStateMachineParams = {
2525
litContracts,

packages/lit-node-client-nodejs/src/lib/lit-node-client-nodejs.spec.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ describe('LitNodeClientNodeJs', () => {
2727
expect(litNodeClient).toBeDefined();
2828
});
2929

30-
it('should be able to instantiate a new LitNodeClientNodeJs to datil dev', async () => {
30+
it('should be able to instantiate a new LitNodeClientNodeJs to naga dev', async () => {
3131
const litNodeClient = new LitNodeClientNodeJs({
32-
litNetwork: LIT_NETWORK.DatilDev,
32+
litNetwork: LIT_NETWORK.NagaDev,
3333
});
3434
expect(litNodeClient).toBeDefined();
3535
});
@@ -48,10 +48,4 @@ describe('LitNodeClientNodeJs', () => {
4848
expect(litNodeClient.config.storageProvider?.provider).toBeInstanceOf(ls);
4949
Object.defineProperty(globalThis, 'localStorage', { value: tmp });
5050
});
51-
52-
it('gets expiration', () => {
53-
const expiration = LitNodeClientNodeJs.getExpiration();
54-
55-
expect(expiration).toContain('T');
56-
});
5751
});

0 commit comments

Comments
 (0)