mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
docs: comprehensive documentation updates for v2 infrastructure changes
This commit is contained in:
1 parent
67ace0ae89
commit
a513712745
18 files changed
+226
-159
No files matched your search
@@ -115,14 +115,14 @@ refactor: extract git service from routes
|
||||
### Writing Tests
|
||||
|
||||
```typescript
|
||||
import { expect, test, describe, beforeEach } from 'bun:test'
|
||||
import { describe, it, expect, beforeEach } from 'vitest'
|
||||
|
||||
describe('featureName', () => {
|
||||
beforeEach(() => {
|
||||
// Setup
|
||||
})
|
||||
|
||||
test('should do something', async () => {
|
||||
it('should do something', async () => {
|
||||
const result = await doSomething()
|
||||
expect(result).toBe(expected)
|
||||
})
|
||||
@@ -142,10 +142,10 @@ describe('featureName', () => {
|
||||
pnpm test
|
||||
|
||||
# With coverage
|
||||
cd backend && bun test --coverage
|
||||
cd backend && vitest --coverage
|
||||
|
||||
# Single file
|
||||
cd backend && bun test path/to/test.ts
|
||||
cd backend && vitest path/to/test.ts
|
||||
```
|
||||
|
||||
## Architecture Decisions
|
||||
|
||||
Reference in new issue
Block a user