The Angular unit tests run on Angular's Vitest runner instead of Karma, and the jasmine-core pin is gone #213
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
lantea-one/ninlil#213
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
angular.json:71uses@angular/build:karma.jasmine-coreis pinned to^5.13.0(src/angular/package.json:51) because Karma loads jasmine-core 6+ as an ES module and prints a deprecation (B23-11,67ee54c). The owner said on 2026-10-29: keep the pin until Karma is replaced.What changes
karma.conf.jsand the jasmine-core pin.jasmine.createSpyObj,spyOn(...).and) to Vitest equivalents, or use a compatibility layer and say which. About 1,600 specs; split the port into several commits by feature folder if the diff is large.npm test -- --watch=falseworking headless in the CI node image (Chromium is atdocker/ci.Dockerfile:60), or switch to the runner's default environment and say why.src/angular/README.md, CONTRIBUTING commands and the test command in every agent brief that names--browsers=ChromeHeadlessNoSandbox(src/agents/, then run the sync script).Acceptance
npm run lint,format:checkandbuildare clean.karmapackage orjasmine-corepin remains.Source
b23-design.md:437-439(B23-11 note and owner 2026-10-29).Owner decision 2026-10-31 (Q-BUG-2): "Angular Vitest".