Logo
Explore Help
Sign In
CocosPlugin/esengine
1
0
Fork 0
You've already forked esengine
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1f3a76aabea2d3eb8a5eb8b73e29127da57e2028
esengine/packages/framework/transaction/vitest.config.ts

11 lines
223 B
TypeScript
Raw Normal View History

feat(framework): server testing utils, transaction storage simplify, pathfinding tests (#384) ## Server Testing Utils - Add TestServer, TestClient, MockRoom for unit testing - Export testing utilities from @esengine/server/testing ## Transaction Storage (BREAKING) - Simplify RedisStorage/MongoStorage to factory pattern only - Remove DI client injection option - Add lazy connection and Symbol.asyncDispose support - Add 161 unit tests with full coverage ## Pathfinding Tests - Add 150 unit tests covering all components - BinaryHeap, Heuristics, AStarPathfinder, GridMap, NavMesh, PathSmoother ## Docs - Update storage.md for new factory pattern API
2025-12-29 15:02:13 +08:00
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['__tests__/**/*.test.ts'],
testTimeout: 10000,
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API