We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d275b commit 1420656Copy full SHA for 1420656
test/http/HttpRequest.test.ts
@@ -135,7 +135,9 @@ value2
135
for (const contentType of contentTypes) {
136
const req = createFormRequest('', contentType);
137
// Native fetch API has different error message than undici
138
- await expect(req.formData()).to.eventually.be.rejectedWith(/Content-Type.*not.*one of|Could not parse content as FormData/i);
+ await expect(req.formData()).to.eventually.be.rejectedWith(
139
+ /Content-Type.*not.*one of|Could not parse content as FormData/i
140
+ );
141
}
142
});
143
0 commit comments