rename(phase 1): CapaKraken → Nexus across code, UI, docs, CI (#61)
CI / Architecture Guardrails (push) Successful in 2m38s
CI / Assistant Split Regression (push) Successful in 3m33s
CI / Typecheck (push) Successful in 3m51s
CI / Lint (push) Successful in 5m2s
CI / E2E Tests (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
CI / Architecture Guardrails (push) Successful in 2m38s
CI / Assistant Split Regression (push) Successful in 3m33s
CI / Typecheck (push) Successful in 3m51s
CI / Lint (push) Successful in 5m2s
CI / E2E Tests (push) Has been cancelled
CI / Fresh-Linux Docker Deploy (push) Has been cancelled
CI / Release Images (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Unit Tests (push) Has been cancelled
rename(phase 1): CapaKraken → Nexus across code, UI, docs, CI (#61) Co-authored-by: Hartmut Nörenberg <hn@hartmut-noerenberg.com> Co-committed-by: Hartmut Nörenberg <hn@hartmut-noerenberg.com>
This commit was merged in pull request #61.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { SystemRole } from "@capakraken/shared";
|
||||
import { SystemRole } from "@nexus/shared";
|
||||
|
||||
import {
|
||||
createToolContext,
|
||||
@@ -235,7 +235,11 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
{ userRole: SystemRole.CONTROLLER },
|
||||
);
|
||||
|
||||
const result = await executeTool("get_dashboard_detail", JSON.stringify({ section: "all" }), ctx);
|
||||
const result = await executeTool(
|
||||
"get_dashboard_detail",
|
||||
JSON.stringify({ section: "all" }),
|
||||
ctx,
|
||||
);
|
||||
|
||||
expect(getDashboardOverview).toHaveBeenCalledTimes(1);
|
||||
expect(getDashboardPeakTimes).toHaveBeenCalledWith(
|
||||
@@ -420,9 +424,7 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
|
||||
it("routes the isolated skill gap detail section without unrelated dashboard reads", async () => {
|
||||
vi.mocked(getDashboardSkillGapSummary).mockResolvedValue({
|
||||
roleGaps: [
|
||||
{ role: "Pipeline TD", needed: 4, filled: 1, gap: 3, fillRate: 25 },
|
||||
],
|
||||
roleGaps: [{ role: "Pipeline TD", needed: 4, filled: 1, gap: 3, fillRate: 25 }],
|
||||
totalOpenPositions: 3,
|
||||
skillSupplyTop10: [{ skill: "houdini", resourceCount: 5 }],
|
||||
resourcesByRole: [{ role: "Pipeline TD", count: 2 }],
|
||||
@@ -446,9 +448,7 @@ describe("assistant dashboard tools detail aggregation", () => {
|
||||
expect(JSON.parse(result.content)).toEqual({
|
||||
skillGaps: {
|
||||
totalOpenPositions: 3,
|
||||
roleGaps: [
|
||||
{ role: "Pipeline TD", gap: 3, needed: 4, filled: 1, fillRate: 25 },
|
||||
],
|
||||
roleGaps: [{ role: "Pipeline TD", gap: 3, needed: 4, filled: 1, fillRate: 25 }],
|
||||
topSkillsInSupply: [{ skill: "houdini", resourceCount: 5 }],
|
||||
resourcesByRole: [{ role: "Pipeline TD", count: 2 }],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user