The console build and unit tests print no warnings #216

Closed
opened 2026-10-31 12:42:28 -04:00 by claude · 0 comments
Owner
  • Draft: REL-35
  • Priority: low
  • Agent: console-coder
  • Depends on: none
  • Decisions: none

Why

npm test logs CoreUI WARN: Icon cilHistory is not registered from one spec whose TestBed lacks
the icon registration app.config.ts has; npm run build prints the generator line
[main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: null.

What changes

Register the icon in that spec (find it: the components using cilHistory are in
features/clients/ and features/webhooks/). For the generator: find the schema without a name
in src/angular/openapi/swagger.json and either name it on the backend (then api-regen) or
document why it stays. If #203 (the npm generator) lands first, the generator warning is gone
with the Java tool: check and say so.

Acceptance

  • npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox output has no WARN; build
    output has no generator WARN (or the reason is recorded).

Source

d-design.md:1917,1926.

- **Draft:** REL-35 - **Priority:** low - **Agent:** console-coder - **Depends on:** none - **Decisions:** none ### Why `npm test` logs `CoreUI WARN: Icon cilHistory is not registered` from one spec whose TestBed lacks the icon registration `app.config.ts` has; `npm run build` prints the generator line `[main] WARN o.o.codegen.utils.ModelUtils - Failed to get the schema name: null`. ### What changes Register the icon in that spec (find it: the components using `cilHistory` are in `features/clients/` and `features/webhooks/`). For the generator: find the schema without a name in `src/angular/openapi/swagger.json` and either name it on the backend (then `api-regen`) or document why it stays. If #203 (the npm generator) lands first, the generator warning is gone with the Java tool: check and say so. ### Acceptance - [ ] `npm test -- --watch=false --browsers=ChromeHeadlessNoSandbox` output has no `WARN`; build output has no generator WARN (or the reason is recorded). ### Source `d-design.md:1917,1926`.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#216
No description provided.