From 19d9e0532eba634af8ba915923d1d136ae3007c8 Mon Sep 17 00:00:00 2001 From: Alfonso Noriega Date: Wed, 15 Jul 2026 11:22:46 +0200 Subject: [PATCH] Type preview store client test double Assisted-By: devx/d9c9b8a1-2521-4fdd-af59-d77381c6f0ee --- .../store/src/cli/services/store/create/preview/index.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/store/src/cli/services/store/create/preview/index.test.ts b/packages/store/src/cli/services/store/create/preview/index.test.ts index dc134b869b3..a1e46275219 100644 --- a/packages/store/src/cli/services/store/create/preview/index.test.ts +++ b/packages/store/src/cli/services/store/create/preview/index.test.ts @@ -1,6 +1,7 @@ import {createPreviewStoreCommand} from './index.js' import {STORE_AUTH_APP_CLIENT_ID} from '../../auth/config.js' import {describe, expect, test, vi} from 'vitest' +import type {PreviewStoreClientOptions} from './client.js' describe('preview store create service', () => { test('persists the created preview store in the store-auth cache', async () => { @@ -84,7 +85,7 @@ describe('preview store create service', () => { }) test('passes client options to the create request', async () => { - const client = {} as any + const client: PreviewStoreClientOptions = {} const createPreviewStore = vi.fn(async () => ({ shop: {id: '123', name: 'Lavender Candles', domain: 'x12y45z.myshopify.com'}, adminApiToken: 'shpat_token',