Meta tags:
description= Command test Is this a regression? Yes, this behavior used to work in the previous version The previous version in which this bug was not present was 20 Description After upgrading from Angular 20 to 21, I ran into NGXXXX errors when run...;
Headings (most frequently used words):
navigation, commented, on, apr, 2026, description, metadata, footer, this, was, angular, 21, new, unit, test, builder, with, karma, and, zone, js, 32905, menu, repository, activity, issue, actions, command, is, regression, the, previous, version, in, which, bug, not, present, minimal, reproduction, exception, or, error, your, environment, anything, else, relevant, json, derulo, szape89, 10, emilycarter6561, byte, 11, assignees, labels, type, projects, milestone, relationships, development,
Text of the page (most frequently used words):
the (31), and (21), #angular (18), that (17), github (17), with (15), test (15), issue (13), new (12), #builder (12), for (11), this (10), 2026 (10), triaged (9), gemini (9), you (8), unit (8), karma (8), not (7), actions (7), has (7), cli (7), apr (7), setup (7), documentation (7), label (6), noting (6), been (6), szape89 (6), 32905 (6), json (6), security (5), copilot (5), sign (5), was (5), global (5), derulo (5), your (5), build (5), code (5), comment (4), have (4), did (4), migration (4), more (4), zone (4), support (4), navigation (3), open (3), development (3), projects (3), area (3), using (3), issues (3), about (3), out (3), commented (3), which (3), but (3), add (3), work (3), copy (3), link (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), all (3), community (2), status (2), footer (2), pull (2), requests (2), milestone (2), type (2), labels (2), one (2), metadata (2), experience (2), does (2), require (2), additional (2), any (2), intention (2), highlight (2), possible (2), shortcomings (2), furthermore (2), ask (2), possibility (2), email (2), unsubscribe (2), are (2), message (2), https (2), com (2), thanks (2), regarding (2), where (2), place (2), emilycarter6561 (2), byte (2), author (2), question (2), answer (2), mar (2), reacted (2), angularisawfull (2), react (2), anything (2), npm (2), when (2), what (2), would (2), like (2), change (2), from (2), found (2), description (2), previous (2), version (2), insights (2), 196 (2), repository (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), learn (2), business (2), fixes (2), products (2), secret (2), can, perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, app, branches, none, yet, relationships, assigned, assignees, already, account, join, conversation, free, fri, wrote, left, reply, directly, view, receiving, because, subscribed, thread, notifications, auth, b7z2x6gmp5lrm2thay6gnhd4vd5tvavcnfsm6aaaaacxhvmeocvhi2dsmvqwix3lmv43oslton2wkq3pnvwwk3tuhm2demrugmydmobugq, clarification, goal, mainly, point, some, gaps, notes, especially, via, linked, stack, overflow, just, include, workaround, please, check, updated, added, robot, activity, willem, gingerr, response, else, relevant, node, package, manager, operating, system, win32, x64, environment, exception, error, minimal, reproduction, advance, should, put, also, its, clear, alternative, contains, guess, property, successor, became, disabled, runnerconfig, karmaconfig, setupfiles, main, src, find, necessity, case, wise, mention, maybe, even, schematic, remove, rest, properties, according, these, derive, configuration, runner, solution, could, modified, line, project, template, after, upgrading, ran, into, ngxxxx, errors, running, tests, still, supposed, fix, resolve, others, experienced, same, implemented, workarounds, actually, reddit, stackoverflow, closed, bug, present, yes, behavior, used, regression, command, body, opened, items, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, next, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
angular 21 new unit test builder with karma and zone js issue 32905 angular angular cli github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message angular angular cli repository navigation code issues 196 196 pull requests 20 20 actions security and quality 8 8 insights more items angular 21 new unit test builder with karma and zone js 32905 new issue copy link new issue copy link open open angular 21 new unit test builder with karma and zone js 32905 copy link labels area angular cli gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini description szape89 opened on mar 31 2026 issue body actions command test is this a regression yes this behavior used to work in the previous version the previous version in which this bug was not present was 20 description after upgrading from angular 20 to 21 i ran into ngxxxx errors when running unit tests still with karma and zone js i found a closed issue and a supposed fix for it but that did not resolve the issue others experienced the same and implemented workarounds which actually do work stackoverflow reddit i found that the solution could be that the angular json has to be modified to be in line with the new project template like this change builder angular build karma to builder angular build unit test add runner karma remove the rest of the properties according to documentation these derive from the development configuration i did not find anything regarding the necessity of this change in the documentation but if that is the case it would be wise to mention it and maybe even add a migration schematic also its not clear what is the alternative for main src test ts which contains global test setup my guess is that the setupfiles property would be the successor like karmaconfig became runnerconfig but that is disabled for karma so my question is where should i put global test setup with the new unit test builder when using karma thanks in advance minimal reproduction npm test exception or error your environment angular cli 21 2 5 node js 24 14 0 package manager npm 11 9 0 operating system win32 x64 anything else relevant no response react with 3 reacted by angularisawfull willem and gingerr react with 1 reacted by angularisawfull activity angular robot added area angular cli gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini on mar 31 2026 json derulo commented on apr 9 2026 json derulo on apr 9 2026 more actions i am the author of the linked stack overflow question answer and i have just updated my answer to include a workaround for the unit test builder please check it out szape89 commented on apr 10 2026 szape89 on apr 10 2026 author more actions json derulo my experience is that using the new builder does not require additional setup did you have any issues with that my intention was to highlight possible documentation and or migration shortcomings furthermore to ask about the possibility of global test setup with the new builder emilycarter6561 byte commented on apr 11 2026 emilycarter6561 byte on apr 11 2026 via email more actions thanks for the clarification szape89 my goal was mainly to point out some gaps in the documentation and migration notes especially regarding where to place global test setup with the new unit test builder on fri apr 10 2026 9 05 am szape89 wrote szape89 left a comment angular angular cli 32905 32905 comment json derulo https github com json derulo my experience is that using the new builder does not require additional setup did you have any issues with that my intention was to highlight possible documentation and or migration shortcomings furthermore to ask about the possibility of global test setup with the new builder reply to this email directly view it on github 32905 comment or unsubscribe https github com notifications unsubscribe auth b7z2x6gmp5lrm2thay6gnhd4vd5tvavcnfsm6aaaaacxhvmeocvhi2dsmvqwix3lmv43oslton2wkq3pnvwwk3tuhm2demrugmydmobugq you are receiving this because you are subscribed to this thread message id sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels area angular cli gemini triaged label noting that an issue has been triaged by gemini label noting that an issue has been triaged by gemini type no type projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|