wiese
wiese
I like that this matcher exists but am surprised by it only supporting one expected value. Native [`.toHaveBeenCalledWith()`](https://jestjs.io/docs/expect#tohavebeencalledwitharg1-arg2-) and its siblings all support multiple arguments. I think there is value...
I did not know `yarn create` so I did some reading (https://classic.yarnpkg.com/lang/en/docs/cli/create/ / https://classic.yarnpkg.com/blog/2017/05/12/introducing-yarn/). > When ran, the create command will automatically install or update the requested package, prefixing its...
It's 2023 now (happy new year everyone!), I just encountered this issue and agree: this is a surprising behaviour. I assumed it operates on a fixed base.
(Not the lib author) That looks pretty sane, I'm effectively doing the same - should work. Could you provide a reproduction (codesandbox or comparable)? As a side note, consider using...
Switching the argument handling to a library like [yargs](https://www.npmjs.com/package/yargs) could make this more approachable.