Kirk Strobeck

Results 11 comments of Kirk Strobeck

```ts jest.mock('fooModule', () => { const originalModule = jest.requireActual('fooModule'); return { ...originalModule, doThing: jest.fn().mockReturnValue('works!'), }; }); ```

> Not currently,although it wouldn't be impossible. What advantages would you say having a typed package-scripts file has? Type safety and all other things TS has to offer

Please submit a pull request and we can likely implement it. Thx!

@Benxamin thank you! Would you please update your PR based on the latest changes?

How does https://github.com/JedWatson/node-premailer compare?

```bash yarn add webdrivercss --ignore-engines ```

Note the warning in https://github.com/lodash/babel-plugin-lodash/issues/259#issuecomment-1438592335 It’s best to just set this in your `package.json` deps ```json { "devDependencies": { "@babel/core": "~7.20.0", } } ``` update the dep later

After `supabase.auth.exchangeCodeForSession` I returned a page that performed a redirect, when I just return `return NextResponse.redirect(requestUrl.origin);` the problem goes away. I suspect its a race condition with setting/reading the cookie

I had a test, `foo.spec.ts` and it was importing a file, `shared.tsx`, that had a value I wanted to assert in an expect. Examples ```tsx // shared.tsx const base =...

I would expect it to warn properly. Something like “You’re trying to import a .tsx file, which is not supported.” Should also handle any other unexpected file extensions.