diff --git a/wallet-gateway/remote/src/config/Config.test.ts b/wallet-gateway/remote/src/config/Config.test.ts index 146374d91..010d139ad 100644 --- a/wallet-gateway/remote/src/config/Config.test.ts +++ b/wallet-gateway/remote/src/config/Config.test.ts @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import { expect, test } from 'vitest' +import { serverConfigSchema } from './Config.js' import { ConfigUtils } from './ConfigUtils.js' test('config from json file', async () => { @@ -28,3 +29,8 @@ test('config from json file', async () => { ) } }) + +test('server.signingWorker is fully optional and defaults when omitted', () => { + const parsed = serverConfigSchema.parse({}) + expect(parsed.signingWorker.pollInterval).toBe(5000) +})