{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/24746","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/24746/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/24746/comments","events_url":"https://api.github.com/repos/angular/angular/issues/24746/events","html_url":"https://github.com/angular/angular/issues/24746","id":337988111,"node_id":"MDU6SXNzdWUzMzc5ODgxMTE=","number":24746,"title":"HttpClientTestingBackend is getting strange export name","user":{"login":"hhorton2","id":9061986,"node_id":"MDQ6VXNlcjkwNjE5ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9061986?v=4","gravatar_id":"","url":"https://api.github.com/users/hhorton2","html_url":"https://github.com/hhorton2","followers_url":"https://api.github.com/users/hhorton2/followers","following_url":"https://api.github.com/users/hhorton2/following{/other_user}","gists_url":"https://api.github.com/users/hhorton2/gists{/gist_id}","starred_url":"https://api.github.com/users/hhorton2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhorton2/subscriptions","organizations_url":"https://api.github.com/users/hhorton2/orgs","repos_url":"https://api.github.com/users/hhorton2/repos","events_url":"https://api.github.com/users/hhorton2/events{/privacy}","received_events_url":"https://api.github.com/users/hhorton2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-03T17:19:19Z","updated_at":"2018-07-03T17:48:15Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n<!-- Check one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[X ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Performance issue\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n[ ] Other... Please describe:\r\n</code></pre>\r\n\r\n## Current behavior\r\n<!-- Describe how the issue manifests. -->\r\nImporting the HttpClientTestingBackend can only be done by importing \"ɵangular_packages_common_http_testing_testing_a\" as HttpClientTestingBackend.\r\n![image](https://user-images.githubusercontent.com/9061986/42234590-a7f506d4-7eba-11e8-81d0-a9b874f0a841.png)\r\n\r\nThis is a screenshot of the testing/testing.d.ts file showing where it is being exported.\r\n![image](https://user-images.githubusercontent.com/9061986/42234657-dac8d630-7eba-11e8-88bd-ceb8517f46d2.png)\r\n\r\n\r\n## Expected behavior\r\n<!-- Describe what the desired behavior would be. -->\r\nNot have HttpClientTestingBackend be exported with a weird alias.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n<!--\r\nFor bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://stackblitz.com or similar (you can use this template as a starting point: https://stackblitz.com/fork/angular-gitter).\r\n-->\r\nJust navigate to \"@angular\\common\\http\\testing\\testing.d.ts\" inside the distro bundle and see the wrong export.\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n<!-- Describe the motivation or the concrete use case. -->\r\n\r\n\r\n## Environment\r\n\r\n<pre><code>\r\nAngular version: 6.0.7\r\n<!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\nBrowser:\r\n- [ X] Chrome (desktop) version XX\r\n- [ X] Chrome (Android) version XX\r\n- [ X] Chrome (iOS) version XX\r\n- [ X] Firefox version XX\r\n- [ X] Safari (desktop) version XX\r\n- [ X] Safari (iOS) version XX\r\n- [ X] IE version XX\r\n- [ X] Edge version XX\r\n \r\nFor Tooling issues:\r\n- Node version: 8.11.1\r\n- Platform: Windows\r\n\r\nOthers:\r\n<!-- Anything else relevant?  Operating system version, IDE, package manager, HTTP server, ... -->\r\n</code></pre>\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/402240186","html_url":"https://github.com/angular/angular/issues/24746#issuecomment-402240186","issue_url":"https://api.github.com/repos/angular/angular/issues/24746","id":402240186,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjI0MDE4Ng==","user":{"login":"hhorton2","id":9061986,"node_id":"MDQ6VXNlcjkwNjE5ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9061986?v=4","gravatar_id":"","url":"https://api.github.com/users/hhorton2","html_url":"https://github.com/hhorton2","followers_url":"https://api.github.com/users/hhorton2/followers","following_url":"https://api.github.com/users/hhorton2/following{/other_user}","gists_url":"https://api.github.com/users/hhorton2/gists{/gist_id}","starred_url":"https://api.github.com/users/hhorton2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hhorton2/subscriptions","organizations_url":"https://api.github.com/users/hhorton2/orgs","repos_url":"https://api.github.com/users/hhorton2/repos","events_url":"https://api.github.com/users/hhorton2/events{/privacy}","received_events_url":"https://api.github.com/users/hhorton2/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T17:48:14Z","updated_at":"2018-07-03T17:48:14Z","author_association":"NONE","body":"In my unit test I am configuring the testing module like this:\r\n![image](https://user-images.githubusercontent.com/9061986/42236020-3213dbd4-7ebf-11e8-99a4-dadcf6b8e97e.png)\r\n\r\nAnd then injecting it into my tests like this:\r\n![image](https://user-images.githubusercontent.com/9061986/42236052-52111b04-7ebf-11e8-8977-ce9851ad5e74.png)\r\n\r\nIs there a better way to do this?"}}
{"actor":{"display_login":"hhorton2"}}