Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
fix: Remove unused imports flagged by code quality review
Damian Legawiecada7961228fc
diff --git a/packages/next/tests/actions/auth.test.ts b/packages/next/tests/actions/auth.test.tsindex 09d31bbb24..228c600b8e 100644--- a/packages/next/tests/actions/auth.test.ts+++ b/packages/next/tests/actions/auth.test.ts@@ -30,7 +30,7 @@ vi.mock('@spree/sdk', () => ({},}));-import { login, register, logout, getCustomer, updateCustomer } from '../../src/actions/auth';+import { login, logout, getCustomer } from '../../src/actions/auth';import { revalidateTag } from 'next/cache';describe('auth actions', () => {diff --git a/packages/next/tests/actions/cart.test.ts b/packages/next/tests/actions/cart.test.tsindex cce87d12b8..508b477e09 100644--- a/packages/next/tests/actions/cart.test.ts+++ b/packages/next/tests/actions/cart.test.ts@@ -22,7 +22,7 @@ vi.mock('@spree/sdk', () => ({createSpreeClient: vi.fn(() => mockClient),}));-import { getCart, getOrCreateCart, addItem, updateItem, removeItem, clearCart, associateCart } from '../../src/actions/cart';+import { getCart, getOrCreateCart, addItem, removeItem, clearCart, associateCart } from '../../src/actions/cart';import { revalidateTag } from 'next/cache';describe('cart actions', () => {diff --git a/packages/sdk/tests/retry.test.ts b/packages/sdk/tests/retry.test.tsindex 426ba7369d..7e7ca248a2 100644--- a/packages/sdk/tests/retry.test.ts+++ b/packages/sdk/tests/retry.test.ts@@ -1,4 +1,4 @@-import { describe, it, expect, vi, beforeEach } from 'vitest';+import { describe, it, expect, vi } from 'vitest';import { createSpreeClient, SpreeError } from '../src/client';function jsonResponse(body: object, status = 200, headers: Record<string, string> = {}): Response {