What version of Remix are you using?
1.5.1
Steps to Reproduce
Expected Behavior
Tests should pass
Actual Behavior
TypeError: Class extends value undefined is not a constructor or null
34 | class NodeRequest extends WebRequest {
35 | constructor(info: NodeRequestInfo, init?: NodeRequestInit) {
> 36 | super(info, init as RequestInit);
| ^
37 | }
38 |
This seems to relate to the types output by @remix-run/web-fetch:
export { default, fetch, Headers, Request, Response } from "./fetch.js";
export { ReadableStream, Blob, FormData } from "./package.js";
//# sourceMappingURL=lib.node.d.ts.map
node_modules/@remix-run/web-fetch/dist/src/lib.node.d.ts
fetch.js and package.js do not exist in the distributed @remix-run/web-fetch and should either be included or lib.node.d.ts should be pointing to fetch.d.ts and package.d.ts
What version of Remix are you using?
1.5.1
Steps to Reproduce
jest-related dependencies to v28 #3400jest-related dependencies to v28 #3400 (comment)yarn test:primaryExpected Behavior
Tests should pass
Actual Behavior
TypeError: Class extends value undefined is not a constructor or null 34 | class NodeRequest extends WebRequest { 35 | constructor(info: NodeRequestInfo, init?: NodeRequestInit) { > 36 | super(info, init as RequestInit); | ^ 37 | } 38 |This seems to relate to the types output by
@remix-run/web-fetch:node_modules/@remix-run/web-fetch/dist/src/lib.node.d.tsfetch.js and package.js do not exist in the distributed
@remix-run/web-fetchand should either be included or lib.node.d.ts should be pointing tofetch.d.tsandpackage.d.ts