diff --git a/packages/alchemy/src/client/lightAccountClient.test.ts b/packages/alchemy/src/client/lightAccountClient.test.ts index 56e71b303d..8c37cbe7a8 100644 --- a/packages/alchemy/src/client/lightAccountClient.test.ts +++ b/packages/alchemy/src/client/lightAccountClient.test.ts @@ -20,11 +20,17 @@ describe("Light Account Client Tests", () => { it("should have a JWT property", async () => { const spy = vi.spyOn(AACoreModule, "createBundlerClient"); await givenConnectedProvider({ owner, chain }); - expect(spy.mock.results[0].value.transport).toMatchInlineSnapshot(` + expect(spy.mock.results[0].value.transport).toMatchInlineSnapshot( + { + fetchOptions: { + headers: { "Alchemy-AA-Sdk-Version": expect.any(String) }, + }, + }, + ` { "fetchOptions": { "headers": { - "Alchemy-AA-Sdk-Version": "3.0.0-alpha.1", + "Alchemy-AA-Sdk-Version": Any, "Authorization": "Bearer test", }, }, @@ -37,7 +43,8 @@ describe("Light Account Client Tests", () => { "type": "http", "url": "https://polygon-mumbai.g.alchemy.com/v2/", } - `); + ` + ); }); it("should correctly encode batch transaction data", async () => {