Title: Cannot use Mocha to write angular2 tests · Issue #5395 · angular/angular · GitHub
Open Graph Title: Cannot use Mocha to write angular2 tests · Issue #5395 · angular/angular
X Title: Cannot use Mocha to write angular2 tests · Issue #5395 · angular/angular
Description: If I use Mocha as a testing framework I'm getting the error message: /Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(13,18): error TS2300: Duplicate identifier 'it'. /Projects/firebase-pipes/node_modules/angul...
Open Graph Description: If I use Mocha as a testing framework I'm getting the error message: /Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(13,18): error TS2300: Duplicate identifier 'it'. /Pr...
X Description: If I use Mocha as a testing framework I'm getting the error message: /Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(13,18): error TS2300: Duplicate identifier '...
Opengraph URL: https://github.com/angular/angular/issues/5395
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot use Mocha to write angular2 tests","articleBody":"If I use Mocha as a testing framework I'm getting the error message:\n\n```\n/Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(13,18): error TS2300: Duplicate identifier 'it'.\n/Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(14,18): error TS2300: Duplicate identifier 'it'.\n/Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(17,18): error TS2300: Duplicate identifier 'xit'.\n/Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(18,18): error TS2300: Duplicate identifier 'xit'.\ntypings/mocha/mocha.d.ts(37,13): error TS2300: Duplicate identifier 'describe'.\ntypings/mocha/mocha.d.ts(38,13): error TS2300: Duplicate identifier 'xdescribe'.\ntypings/mocha/mocha.d.ts(43,13): error TS2300: Duplicate identifier 'it'.\ntypings/mocha/mocha.d.ts(44,13): error TS2300: Duplicate identifier 'xit'.\n```\n\nIs it necessary to propagate Angular with Jasmine typings?\n\nhttps://github.com/angular/angular/blob/master/modules/angular2/manual_typings/globals-es6.d.ts#L9.\n","author":{"url":"https://github.com/dimitrikochnev","@type":"Person","name":"dimitrikochnev"},"datePublished":"2015-11-19T23:16:17Z","url":"https://github.com/angular/angular/issues/5395"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ccde9ab8-ed0b-58e5-a8a5-d7d9c8c1e703 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F36:269AD9:1EC9834:291D182:6B01755B |
| html-safe-nonce | bb2ee6f82908e0fbac1ca199df0365104f7807c176670bbc58a955992daa4c9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjM2OjI2OUFEOToxRUM5ODM0OjI5MUQxODI6NkIwMTc1NUIiLCJ2aXNpdG9yX2lkIjoiODM4MTk4MzQ1MjgyNzg0MTg4MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b1e1a8e49deff8917c0003a7237ffd148dc677bee1d0950ac4ad1727ff6bd27d |
| hovercard-subject-tag | issue:117930834 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/5395/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbb1e3383915c51b2f7ad02b785719d4473f7d48699123bdfe55e8fec62890c6/angular/angular/issues/5395 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbb1e3383915c51b2f7ad02b785719d4473f7d48699123bdfe55e8fec62890c6/angular/angular/issues/5395 |
| og:image:alt | If I use Mocha as a testing framework I'm getting the error message: /Projects/firebase-pipes/node_modules/angular2/typings/jasmine/jasmine.d.ts(13,18): error TS2300: Duplicate identifier 'it'. /Pr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dimitrikochnev |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width