Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand Down Expand Up @@ -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',
Expand Down
Loading