Jonas Amundsen

Results 116 comments of Jonas Amundsen

FYI, I tried looking into the `sourceRoot` configuration property, but that didn't appear to changes the sources, but merely append said property to the sourcemap.

Since 1) `cy.screenshot` is [not retried](https://docs.cypress.io/api/commands/screenshot.html#Assertions) by itself and 2) requires post-processing before comparison, this isn't as simple as using `should` and `expect`. You need to create a custom command...

I don't have any strong preferences towards it. Btw, I made a proof-of-concept of retry-ability [here](https://github.com/badeball/cypress-image-snapshot/tree/retry-ability). Unforunately, I found the jest test to be highly coupled with implementation details and...

This is an interesting one. So, what's happening here is that something in your bundle attempts to perform a synchronous XHR. `jsdom` implements this by using [`child_process.spawnSync`](https://github.com/jsdom/jsdom/blob/13.2.0/lib/jsdom/living/xmlhttprequest.js#L610-L614). This will spawn...

Leaving it open for a while, any tips as to how make Webpack cooperate are welcome.

I couldn't let this one go and did some more digging. It turns out that the synchronous requests are made by [source-map-support](https://github.com/evanw/node-source-map-support). There's an issue in angular-cli that prevents me...

I've tried creating a fresh Angular project and configured `"sourceMap": false` in `angular.json` (in the `test` part). It now seems to run fine. @fluky, can you update your dependencies and...

I will furthermore see if I can warn users of synchronous requests to the Karma server, as it will never really work.

> Is there a particular reason these weren't listed as devDependencies instead? Yes, but it's no longer entirely clear to me anymore, IE. kind of historical reasons. NPM has a...

Hi, @abejfehr. Thanks for reporting the issue! Can you provide me with a minimal example that illustrates the problem and allows me to reproduce it?