Tony Brix

Results 613 comments of Tony Brix

Looks like we would just need to add a `runScript` method like https://github.com/facebook/jest/blob/2f6931e91d5ab126de70caf150c68709752e7f6c/packages/jest-environment-node/src/index.ts#L109-L114 And add a test or two. If you want to create a PR I would be happy...

There were a lot of breaking changes in jest v28 that affected environments. I have not been able to fix some of those issues yet but I'm guessing this is...

Can you resolve the conflict? then I think this looks good! :100:

The test seems to work fine for me. What version of jest and puppeteer are you using when it is failing?

The issue with jest@26 might be related to https://github.com/smooth-code/jest-puppeteer/issues/421

@rfgamaral sure. If you want to create a PR and add tests to make sure it is working we could add a create method

This is fixed in the latest release

`cp` has a `--no-clobber` option to prevent overriding files. https://man7.org/linux/man-pages/man1/cp.1.html

@stephenhutchings PRs are appreciated 😁👍

is this fixed in the latest version?