mirror of
https://github.com/selfxyz/self.git
synced 2026-04-27 03:01:15 -04:00
22 lines
636 B
TypeScript
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'],
|
|
},
|
|
},
|
|
},
|
|
});
|