Brendon

Results 17 comments of Brendon

> I would also appreciate support for TextDecoder and TextEncoder. Didn't have much joy with @JamesHenry 's custom test environment solution but adding this to the top of my test...

> ```js > import * as util from 'util' > > // ref: https://jestjs.io/docs/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom > // ref: https://github.com/jsdom/jsdom/issues/2524 > Object.defineProperty(window, 'TextEncoder', { > writable: true, > value: util.TextEncoder > })...

Have you guys check the migration list? https://github.com/ReactTraining/react-router/blob/dev/docs/advanced-guides/migrating-5-to-6.md

Which next-auth version to use with this changes?

manage to manually clone it instead.