Matt Duggan
Matt Duggan
Would also appreciate a --filename flag for both build and sign. My XPI is returned with version and two additional suffix hints (--an+fx.xpi). Signing in AMO with targeted support for...
I had trouble getting webpack-resolver to play nicely with Jest and couldn't figure out the magic `moduleNameMapper` pattern. I was able to work around this in Webpack v5 by using...
I've run into this issue and noticing that the way `initialize` works introduces a memory leak in the test environment if you reuse your stories there. [MSW documentation](https://mswjs.io/docs/getting-started/integrate/node#using-create-react-app) covers reseting...
Copy/pasting the internals of `mswDecorator`, replacing the `api` reference with our server. ```tsx import {server} from '../src/mock/server'; const isTest = process.env.NODE_ENV === 'test'; if (!isTest) { initialize() } export const...
Here's something a little better I have working: ```tsx export const mswDecoratorFactory = (api) => { const onUnmount = () => { api.close?.() || api.stop(); api.resetHandlers(); }; return (Story, context)...
My use case: adding a required argument for all operations to context. I'd like to be able to state that a required argument is optional so that the value doesn't...
@ardatan Thank you for the response and the example. I'm concerned that this approach would be rather cumbersome to migrate to and maintain. Ideally, I want to be able to...
@searls I'll see what I can come up with. And yes! `stub` was introduced in the newer versions of sprockets.