Title: Plotly object not found on window" when unit testing a component · Issue #206 · plotly/angular-plotly.js · GitHub
Open Graph Title: Plotly object not found on window" when unit testing a component · Issue #206 · plotly/angular-plotly.js
X Title: Plotly object not found on window" when unit testing a component · Issue #206 · plotly/angular-plotly.js
Description: Error: Plotly object not found on window. Error: Plotly object not found on window. at new PlotlyViaWindowModule (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2015/angular-plotly.js.js:634:1) at Objec...
Open Graph Description: Error: Plotly object not found on window. Error: Plotly object not found on window. at new PlotlyViaWindowModule (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2...
X Description: Error: Plotly object not found on window. Error: Plotly object not found on window. at new PlotlyViaWindowModule (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plotly object not found on window\" when unit testing a component","articleBody":"Error: Plotly object not found on window.\r\n`Error: Plotly object not found on window.\r\n at new PlotlyViaWindowModule (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2015/angular-plotly.js.js:634:1)\r\n at Object.PlotlyViaWindowModule_Factory [as factory] (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2015/angular-plotly.js.js:639:74)\r\n at R3Injector.hydrate (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/core.js:11457:1)\r\n at R3Injector.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/core.js:11276:1)\r\n at http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/core.js:11314:1\r\n at Set.forEach (\u003canonymous>)\r\n at R3Injector._resolveInjectorDefTypes (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/core.js:11314:1)\r\n at new NgModuleRef$1 (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/core.js:25345:1)\r\n at R3TestBedCompiler.finalize (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/testing.js:926:1)\r\n at TestBedRender3.get testModuleRef [as testModuleRef] (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm2015/testing.js:1789:1)`","author":{"url":"https://github.com/SkCodeRains","@type":"Person","name":"SkCodeRains"},"datePublished":"2022-08-06T11:57:39Z","url":"https://github.com/plotly/angular-plotly.js/issues/206"}
| 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:9bcaef97-bfbf-7d8c-d13d-8d4bf7dd0cf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C090:B1B84:2F1ACDF:3BF1FBE:6B01FB68 |
| html-safe-nonce | 26afe8cda5b4c4704ad4bb5de435ba2b53e13151e55f2556c1756c40e257e494 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDkwOkIxQjg0OjJGMUFDREY6M0JGMUZCRTo2QjAxRkI2OCIsInZpc2l0b3JfaWQiOiI3NDUyNjU5NzE1MTc3MzE1MTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c2f0f9ed5299e9ca7943ab56bae61af1caaae2b91a30c0b2b67c36bae65e3a56 |
| hovercard-subject-tag | issue:1330733508 |
| 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/plotly/angular-plotly.js/206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/016e81c1b9d1825a03ddea91faa9e14cf49fad00226dc0d8199d46fd3eadb8d1/plotly/angular-plotly.js/issues/206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/016e81c1b9d1825a03ddea91faa9e14cf49fad00226dc0d8199d46fd3eadb8d1/plotly/angular-plotly.js/issues/206 |
| og:image:alt | Error: Plotly object not found on window. Error: Plotly object not found on window. at new PlotlyViaWindowModule (http://localhost:9876/_karma_webpack_/webpack:/node_modules/angular-plotly.js/fesm2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | SkCodeRains |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/angular-plotly.js git https://github.com/plotly/angular-plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 125262347 |
| octolytics-dimension-repository_nwo | plotly/angular-plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125262347 |
| octolytics-dimension-repository_network_root_nwo | plotly/angular-plotly.js |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width