Meta tags:
description= angular/angular/pull/61230 updated TestBed s behavior of components with async metadata. TestBed will now only throw when overrideComponent() is used on a component with a @defer block;
Headings (most frequently used words):
uh, oh, for, navigation, apr, 29, 2026, choose, reason, hiding, this, comment, refactor, schematics, remove, unnecessary, compilecomponents, 33082, are, footer, you, cexbrayat, diff, view, menu, repository, there, no, files, selected, viewing, sure, want, to, change, the, base, filter, by, extension, jeanmeche,
Text of the page (most frequently used words):
file (37), the (31), this (29), app (21), #angular (20), line (18), files (18), and (18), github (16), that (15), hidden (15), characters (15), unicode (15), show (14), for (14), there (13), loading (13), testbed (13), open (13), comment (13), reload (12), diff (12), applied (11), from (11), all (11), schematics (11), configuretestingmodule (11), while (10), change (10), was (10), expand (10), compilecomponents (10), src (10), spec (10), number (10), bidirectional (10), learn (10), template (10), you (9), changes (9), component (9), more (9), reason (9), not (8), please (8), comments (8), describe (8), suggestion (7), cannot (7), suggestions (7), code (7), error (7), page (7), options (7), may (7), review (7), about (7), view (7), packages (7), choose (7), sign (7), const (6), should (6), async (6), await (6), application (6), what (6), beforeeach (6), __name (6), dasherize__ (6), hide (6), quality (6), hiding (6), copy (6), import (6), app__suffix__ (6), build (6), security (5), 2026 (5), outdated (5), commit (5), down (5), default (5), original (5), contains (5), text (5), interpreted (5), compiled (5), differently (5), than (5), appears (5), below (5), editor (5), reveals (5), desktop (5), delete (5), edit (5), additions (5), deletions (5), fixture (5), standalone (5), test (5), jeanmeche (5), base (5), your (5), can (4), pull (4), resolved (4), create (4), something (4), went (4), wrong (4), tree (4), classifiedname (4), imports (4), behavior (4), apr (4), load (4), refactor (4), remove (4), unnecessary (4), commits (4), support (4), copilot (4), community (3), navigation (3), request (3), add (3), batch (3), retry (3), when (3), apptree (3), call (3), index_spec (3), createcomponent (3), dasherize (3), flat__ (3), __type (3), reactions (3), sorry (3), cli (3), does (3), low (3), duplicate (3), off (3), topic (3), abuse (3), spam (3), will (3), displayed (3), others (3), problem (3), member (3), markdown (3), link (3), module (3), appcomponent (3), builders (3), unit (3), tests (3), coverage (3), ignore (3), comments_spec (3), whitespace (3), filter (3), 33082 (3), branch (3), refname (3), account (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), contact (2), status (2), privacy (2), terms (2), footer (2), later (2), merge (2), applying (2), single (2), only (2), one (2), viewing (2), toggle (2), defaultoptions (2), set (2), detection (2), tscontent (2), projects (2), foo (2), schematicrunner (2), runschematic (2), componentinstance (2), declarations (2), globally (2), runtime (2), override (2), erroronunknownproperties (2), think (2), changed (2), cexbrayat (2), have (2), components (2), suffix (2), core (2), testing (2), routermodule (2), routing (2), are (2), selected (2), apply (2), split (2), unified (2), failed (2), jump (2), nbsp (2), extension (2), old (2), could (2), tags (2), branches (2), main (2), issue (2), insights (2), actions (2), 196 (2), repository (2), signed (2), with (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, docs, inc, right, now, check, back, queued, multi, pending, reviews, has, been, marked, must, existing, order, valid, deleted, lines, supported, per, subset, closed, invalid, because, were, made, annotations, notes, oops, onpush, expect, tocontain, readcontent, bar, contain, appoptions, schematic, let, componentfixture, configured, unknown, property, validation, still, uses, adding, example, provider, would, then, also, start, global, option, same, handful, false, true, fallback, but, read, applies, strict, mode, flags, through, path, least, wasn, implemented, few, years, ago, don, afaik, fallbacks, aren, personnaly, rarely, use, providers, context, author, kept, even, empty, sets, defined, like, iirc, thread, ematics, forroot, router, ages, conversations, clear, filters, viewed, types, f0927f1, select, checks, conversation, wants, into, compile, some, removed, timeline, become, sure, want, nothing, found, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, question, project, new, items, requests, issues, message, dismiss, alert, switched, accounts, out, 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, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
Text of the page (random words):
refactor schematics remove unnecessary compilecomponents by jeanmeche pull request 33082 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 refactor schematics remove unnecessary compilecomponents 33082 new issue have a question about this project sign up for a free github account to open an issue and contact its maintainers and the community sign up for github by clicking sign up for github you agree to our terms of service and privacy statement we ll occasionally send you account related emails already on github sign in to your account open jeanmeche wants to merge 1 commit into angular main base main choose a base branch branches tags could not load branches branch not found refname loading refname default could not load tags nothing to show refname default loading are you sure you want to change the base some commits from the old base branch may be removed from the timeline and old review comments may become outdated loading change base from jeanmeche compile components conversation 4 commits 1 checks 36 files changed uh oh there was an error while loading please reload this page open refactor schematics remove unnecessary compilecomponents 33082 show file tree hide file tree changes from all commits commits show all changes 1 commit select commit f0927f1 refactor schematics angular remove unnecessary compilecomponents jeanmeche apr 28 2026 file filter filter by extension filter by extension template nbsp 3 ts nbsp 2 all 2 file types selected viewed files clear filters conversations failed to load comments retry loading uh oh there was an error while loading please reload this page jump to jump to file failed to load files retry loading uh oh there was an error while loading please reload this page diff view unified split hide whitespace apply and reload show whitespace diff view unified split hide whitespace apply and reload packages angular build src builders unit test tests behavior packages angular build src builders unit test tests behavior coverage ignore comments_spec ts coverage ignore comments_spec ts schematics angular application files module files src app packages schematics angular application files module files src app app__suffix__ spec ts template app__suffix__ spec ts template standalone files src app packages schematics angular application files standalone files src app app__suffix__ spec ts template app__suffix__ spec ts template component files __name dasherize if flat__ packages schematics angular component files __name dasherize if flat__ __name dasherize__ __type dasherize__ spec ts template __name dasherize__ __type dasherize__ spec ts template packages schematics angular component index_spec ts index_spec ts there are no files selected for viewing 6 changes 3 additions 3 deletions 6 ages angular build src builders unit test tests behavior coverage ignore comments_spec ts show comments view file edit file delete file open in desktop this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters original file line number diff line number diff line change expand up 26 10 26 10 import testbed from angular core testing import appcomponent from app component describe appcomponent beforeeach async await testbed configuretestingmodule beforeeach testbed configuretestingmodule imports appcomponent compilecomponents it should create the app expand down 6 changes 3 additions 3 deletions 6 schematics angular application files module files src app app__suffix__ spec ts template show comments view file edit file delete file open in desktop this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters original file line number diff line number diff line change expand up 3 15 3 15 import routermodule from angular router import app from app suffix describe app beforeeach async await testbed configuretestingmodule if routing beforeeach testbed configuretestingmodule if routing imports routermodule forroot declarations app compilecomponents it should create the app expand down 6 changes 0 additions 6 deletions 6 ematics angular application files standalone files src app app__suffix__ spec ts template show comments view file edit file delete file open in desktop this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters original file line number diff line number diff line change expand up 2 12 2 6 import testbed from angular core testing import app from app suffix describe app beforeeach async await testbed configuretestingmodule imports app compilecomponents comment thread cexbrayat apr 29 2026 copy link copy markdown member there was a problem hiding this comment choose a reason for hiding this comment the reason will be displayed to describe this comment to others learn more choose a reason spam abuse off topic outdated duplicate resolved low quality hide comment i think the call to configuretestingmodule should be kept even if empty as it sets globally defined options like erroronunknownproperties iirc sorry something went wrong uh oh there was an error while loading please reload this page all reactions jeanmeche apr 29 2026 copy link copy markdown member author there was a problem hiding this comment choose a reason for hiding this comment the reason will be displayed to describe this comment to others learn more choose a reason spam abuse off topic outdated duplicate resolved low quality hide comment afaik there a fallbacks on options that aren t set i personnaly rarely use it if i have no providers to override in the context of standalone components sorry something went wrong uh oh there was an error while loading please reload this page all reactions cexbrayat apr 29 2026 copy link copy markdown member there was a problem hiding this comment choose a reason for hiding this comment the reason will be displayed to describe this comment to others learn more choose a reason spam abuse off topic outdated duplicate resolved low quality hide comment there is a fallback but it is only read when configuretestingmodule applies the testbed options to the runtime strict mode flags createcomponent does not go through that path at least it wasn t when i implemented it a few years ago and i don t think it changed so if erroronunknownproperties is configured to true globally as the cli does by default and the test does not call configuretestingmodule unknown property validation still uses the runtime default false adding configuretestingmodule later for example to override a provider would then also start applying the global option and change the test behavior this is the same for a handful of options sorry something went wrong uh oh there was an error while loading please reload this page all reactions it should create the app const fixture testbed createcomponent app const app fixture componentinstance expand down 5 changes 2 additions 3 deletions 5 t files __name dasherize if flat__ __name dasherize__ __type dasherize__ spec ts template show comments view file edit file delete file open in desktop this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters original file line number diff line number diff line change expand up 7 10 7 9 describe classifiedname let fixture componentfixture classifiedname beforeeach async await testbed configuretestingmodule testbed configuretestingmodule standalone imports declarations classifiedname compilecomponents fixture testbed createcomponent classifiedname component fixture componentinstance expand down 8 changes 0 additions 8 deletions 8 packages schematics angular component index_spec ts show comments view file edit file delete file open in desktop this file contains hidden or bidirectional unicode text that may be interpreted or compiled differently than what appears below to review open the file in an editor that reveals hidden unicode characters learn more about bidirectional unicode characters show hidden characters original file line number diff line number diff line change expand up 56 14 56 6 describe component schematic apptree await schematicrunner runschematic application appoptions apptree it should contain a testbed compilecomponents call async const options defaultoptions const tree await schematicrunner runschematic component options apptree const tscontent tree readcontent projects bar src app foo foo component spec ts expect tscontent tocontain compilecomponents it should not set change detection when default is onpush async const options defaultoptions expand down loading oops something went wrong retry uh oh there was an error while loading please reload this page toggle all file notes toggle all file annotations add this suggestion to a batch that can be applied as a single commit this suggestion is invalid because no changes were made to the code suggestions cannot be applied while the pull request is closed suggestions cannot be applied while viewing a subset of changes only one suggestion per line can be applied in a batch add this suggestion to a batch that can be applied as a single commit applying suggestions on deleted lines is not supported you must change the existing code in this line in order to create a valid suggestion outdated suggestions cannot be applied this suggestion has been applied or marked resolved suggestions cannot be applied from pending reviews suggestions cannot be applied on multi line comments suggestions cannot be applied while the pull request is queued to merge suggestion cannot be applied right now please check back later 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
|