Files
self/packages/mobile-sdk-alpha/vitest.config.ts
Justin Hernandez 3f2fb1159c Update mobile sdk test config to fix test running (#1635)
* fix mobile sdk tests

* fix mobile sdk tests
2026-01-21 15:38:14 -08:00

22 lines
636 B
TypeScript

// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
// SPDX-License-Identifier: BUSL-1.1
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./tests/setup.ts'],
include: ['tests/**/*.test.{ts,tsx}', 'src/**/*.test.{ts,tsx}'],
exclude: ['node_modules/**'],
server: {
deps: {
// Inline these CommonJS modules to transform them for ESM compatibility
inline: ['blakejs', '@zk-kit/eddsa-poseidon', '@selfxyz/common'],
},
},
},
});