Initial commit: Nexus Mission Control Platform
- ASP.NET Core 10 Backend (JWT Auth, Agent config API) - Vue 3 Frontend (Dashboard, Team, Agents, Config Editor) - PostgreSQL Database - Docker Compose setup - Mission Control Dashboard redesign
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { describe, it, expect } from 'vitest'
|
||||
import { setActivePinia, createPinia } from 'pinia'
|
||||
import { useOperationsStore } from '../src/stores/operations'
|
||||
|
||||
describe('operations store', () => {
|
||||
it('initializes with fallback data', () => {
|
||||
setActivePinia(createPinia())
|
||||
const store = useOperationsStore()
|
||||
expect(store.snapshot.metrics.activeAgents).toBeGreaterThan(0)
|
||||
expect(store.snapshot.runtime.runtime).toBe('OpenClaw')
|
||||
})
|
||||
|
||||
it('has routing targets', () => {
|
||||
setActivePinia(createPinia())
|
||||
const store = useOperationsStore()
|
||||
expect(store.routing.length).toBeGreaterThan(0)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user