Skip to content

Commit 1420656

Browse files
committed
Fixing Uni Tests
1 parent 64d275b commit 1420656

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/http/HttpRequest.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ value2
135135
for (const contentType of contentTypes) {
136136
const req = createFormRequest('', contentType);
137137
// 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);
138+
await expect(req.formData()).to.eventually.be.rejectedWith(
139+
/Content-Type.*not.*one of|Could not parse content as FormData/i
140+
);
139141
}
140142
});
141143
});

0 commit comments

Comments
 (0)