René's URL Explorer Experiment


Title: "ng test" does not bail on type definition errors · Issue #3424 · angular/angular-cli · GitHub

Open Graph Title: "ng test" does not bail on type definition errors · Issue #3424 · angular/angular-cli

X Title: "ng test" does not bail on type definition errors · Issue #3424 · angular/angular-cli

Description: OS Mac OSX - EL Capitan Versions. angular-cli: 1.0.0-beta.19-3 node: 6.4.0 os: darwin x64 Repro steps. Have a default angular-cli setup in place (by running "ng new ") Then there should be AppComponent and its spec file cre...

Open Graph Description: OS Mac OSX - EL Capitan Versions. angular-cli: 1.0.0-beta.19-3 node: 6.4.0 os: darwin x64 Repro steps. Have a default angular-cli setup in place (by running "ng new ") Then there shou...

X Description: OS Mac OSX - EL Capitan Versions. angular-cli: 1.0.0-beta.19-3 node: 6.4.0 os: darwin x64 Repro steps. Have a default angular-cli setup in place (by running "ng new <project_name>")...

Opengraph URL: https://github.com/angular/angular-cli/issues/3424

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"ng test\" does not bail on type definition errors","articleBody":"### OS\r\nMac OSX - EL Capitan\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.19-3\r\nnode: 6.4.0\r\nos: darwin x64\r\n\r\n### Repro steps.\r\n- Have a default angular-cli setup in place (by running \"ng new \u003cproject_name>\")\r\n- Then there should be `AppComponent` and its spec file created by default.\r\n- Add a new method in `app.component.ts`:\r\n```javascript\r\npublic static returnAorB(character: 'A' | 'B') {\r\n  return character;\r\n}\r\n```\r\n\r\nAnd add following line anywhere in `app.component.spec.ts`:\r\n```javascript\r\nexpect(AppComponent.returnAorB('C')).toEqual('C');\r\n```\r\n- Run \"ng test --watch=false\"\r\n\r\nIt will generate an error complaining `Argument of type '\"C\"' is not assignable to parameter of type '\"A\" | \"B\"'.` But the command did not exit. \r\n\r\n### The log given by the failure.\r\n```javascript\r\n....\r\nERROR in [default] \u003cpath>/src/app/app.component.spec.ts:16:35 \r\nArgument of type '\"C\"' is not assignable to parameter of type '\"A\" | \"B\"'.\r\n.....\r\n(Completes and Exits with successful code)\r\n```\r\n","author":{"url":"https://github.com/huyph","@type":"Person","name":"huyph"},"datePublished":"2016-12-06T03:29:37Z","url":"https://github.com/angular/angular-cli/issues/3424"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:30182601-4b57-6ec3-4752-e8b626e0e7b9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA852:E0ADF:1CBE2B8:242F24C:6B023A9D
html-safe-nonce495d55326605c0d7fe04567fe06f059db2015063fb0dc6a679b1c792763ac46c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODUyOkUwQURGOjFDQkUyQjg6MjQyRjI0Qzo2QjAyM0E5RCIsInZpc2l0b3JfaWQiOiIzNTczNDM3MjQ3NjExMDkxNjEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac08eac5110305cfd9f6eb83244b71581dbfdb8659a66dd5990983571776380c62
hovercard-subject-tagissue:193674159
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3424/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e96afb00905232da138e9ee36d28c48c040fb97060481efe70988f45c854a49c/angular/angular-cli/issues/3424
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e96afb00905232da138e9ee36d28c48c040fb97060481efe70988f45c854a49c/angular/angular-cli/issues/3424
og:image:altOS Mac OSX - EL Capitan Versions. angular-cli: 1.0.0-beta.19-3 node: 6.4.0 os: darwin x64 Repro steps. Have a default angular-cli setup in place (by running "ng new ") Then there shou...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehuyph
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/3424#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F3424
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F3424
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/3424
Reloadhttps://github.com/angular/angular-cli/issues/3424
Reloadhttps://github.com/angular/angular-cli/issues/3424
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3424
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3424
#5504https://github.com/angular/angular-cli/pull/5504
"ng test" does not bail on type definition errorshttps://github.com/angular/angular-cli/issues/3424#top
#5504https://github.com/angular/angular-cli/pull/5504
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
effort1: easy (hours)https://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22effort1%3A%20easy%20(hours)%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
https://github.com/huyph
huyphhttps://github.com/huyph
on Dec 6, 2016https://github.com/angular/angular-cli/issues/3424#issue-193674159
https://github.com/hansl
hanslhttps://github.com/hansl
on Dec 6, 2016https://github.com/angular/angular-cli/issues/3424#issuecomment-265235591
hanslhttps://github.com/hansl
effort1: easy (hours)https://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22effort1%3A%20easy%20(hours)%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Dec 6, 2016https://github.com/angular/angular-cli/issues/3424#event-884111701
https://github.com/JohannesRudolph
JohannesRudolphhttps://github.com/JohannesRudolph
on Dec 8, 2016https://github.com/angular/angular-cli/issues/3424#issuecomment-265663904
#2778https://github.com/angular/angular-cli/issues/2778
@huyphhttps://github.com/huyph
@fabian-devhttps://github.com/fabian-dev
filipesilvahttps://github.com/filipesilva
on Mar 19, 2017https://github.com/angular/angular-cli/issues/3424#event-1006010174
fix(@angular/cli): fix error handling on testhttps://github.com/filipesilva/angular-cli/commit/f1e27db650287ca04781f58d37009de3293f63b4
https://docs.github.com/articles/closing-issues-via-commit-messages
f1e27dbhttps://github.com/filipesilva/angular-cli/commit/f1e27db650287ca04781f58d37009de3293f63b4
fix(@angular/cli): fix error handling on testhttps://github.com/filipesilva/angular-cli/commit/1e72de02cab6da870077787cbbf15bc5acefd22e
https://docs.github.com/articles/closing-issues-via-commit-messages
1e72de0https://github.com/filipesilva/angular-cli/commit/1e72de02cab6da870077787cbbf15bc5acefd22e
fix(@angular/cli): fix error handling on testhttps://github.com/filipesilva/angular-cli/commit/055a4b7d62b73224f8914ccd7942a5da4914f089
https://docs.github.com/articles/closing-issues-via-commit-messages
055a4b7https://github.com/filipesilva/angular-cli/commit/055a4b7d62b73224f8914ccd7942a5da4914f089
fix(@angular/cli): fix error handling on testhttps://github.com/filipesilva/angular-cli/commit/58299dda5003f79cf3798c5e721123ecb131e6f4
https://docs.github.com/articles/closing-issues-via-commit-messages
58299ddhttps://github.com/filipesilva/angular-cli/commit/58299dda5003f79cf3798c5e721123ecb131e6f4
fix(@angular/cli): fix error handling on testhttps://github.com/filipesilva/angular-cli/commit/8ab395410b0eb94aafeada4de28dff82517ca45a
https://docs.github.com/articles/closing-issues-via-commit-messages
8ab3954https://github.com/filipesilva/angular-cli/commit/8ab395410b0eb94aafeada4de28dff82517ca45a
hanslhttps://github.com/hansl
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5504https://github.com/angular/angular-cli/pull/5504
on Mar 20, 2017https://github.com/angular/angular-cli/issues/3424#event-1006991324
hanslhttps://github.com/hansl
on Mar 20, 2017https://github.com/angular/angular-cli/issues/3424#event-1006991511
fix(@angular/cli): fix error handling on testhttps://github.com/angular/angular-cli/commit/9cda847035fc2b09f3f2b6e866acb6f3d9a51471
https://docs.github.com/articles/closing-issues-via-commit-messages
9cda847https://github.com/angular/angular-cli/commit/9cda847035fc2b09f3f2b6e866acb6f3d9a51471
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 6, 2019https://github.com/angular/angular-cli/issues/3424#issuecomment-529037438
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 6, 2019https://github.com/angular/angular-cli/issues/3424#event-2615768752
mostafaibrhttps://github.com/mostafaibr
on May 29, 2026https://github.com/angular/angular-cli/issues/3424#event-26099509870
fix(@angular/cli): fix error handling on testhttps://github.com/mostafaibr/angular-cli/commit/ddb80a8b58fd117143ad20cb85c9ec84f512b4d1
https://docs.github.com/articles/closing-issues-via-commit-messages
ddb80a8https://github.com/mostafaibr/angular-cli/commit/ddb80a8b58fd117143ad20cb85c9ec84f512b4d1
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/3424
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/3424
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
effort1: easy (hours)https://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22effort1%3A%20easy%20(hours)%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.