Kenneth Skovhus

Results 254 comments of Kenneth Skovhus

So that is the challenging part. Short answer: you can't. Longer answer: if the identifier is assigned inside the file you can search the AST for assignment to this specific...

Doing migration from outdated version as part of jest-codemods seems a bit out of scope, which is: > "simplify migrating JavaScript and TypeScript test files from [AVA](https://github.com/avajs/ava), [Chai](https://github.com/chaijs/chai), [Expect.js (by...

PRs are more than welcome. Are you up for creating one? Codemods are fun to write. :)

I like it! Do you want to give it a try?

@robcresswell awesome! Let me know if you have any questions.

Might still be nice to add this. Which line did you change?

Thanks for reporting. I overlooked that missing feature... We cannot reliably detect if an argument is a promise, so I'm not sure what the right solution is. After the transformation,...

@ahutchings seems like this is fixed in https://github.com/facebook/jest/pull/3068 ... Does Jest>20 work for you?

@ahutchings did you have time to test newest version of Jest? Thanks.