/
mustreets
/
CreateTransactions
Обзор
Документация
Войти
/
mustreets
/
CreateTransactions
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
vitest.config.ts
20 строк
513 B
Slava
Initialize project with essential configurations and structures
14 май 2026, 22:23
14 май 2026, 22:23
a89cd26
Код
Авторство
О чём код?
import { fileURLToPath } from "node:url"; import { dirname, resolve } from "node:path"; import { defineConfig } from "vitest/config"; const rootDir = dirname(fileURLToPath(import.meta.url)); export default defineConfig({ resolve: { alias: { "react-native-crypto-js": resolve(rootDir, "test/stubs/react-native-crypto-js.ts"), }, }, test: { environment: "node", globals: false, include: ["test/**/*.test.ts"], setupFiles: ["./test/setup.ts"], testTimeout: 15_000, }, });