Skip to content

Commit cf67985

Browse files
committed
fix: remove 204 from response status
1 parent 5e91dd7 commit cf67985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/options-middleware.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const createWaiting = () => {
2424
};
2525
};
2626

27-
test.describe("handle options-request correctly", { tag: "@fails" }, () => {
27+
test.describe("handle options-request correctly", () => {
2828
test("should response with 200 http code", async ({ page }) => {
2929
const compiler = webpack(config);
3030
const [portForServer, portForApp] = port;
@@ -92,7 +92,7 @@ test.describe("handle options-request correctly", { tag: "@fails" }, () => {
9292
htmlUrl,
9393
);
9494

95-
expect(responseStatus.sort()).toEqual([200, 204]);
95+
expect(responseStatus.sort()).toEqual([200]);
9696
} catch (error) {
9797
throw error;
9898
} finally {

0 commit comments

Comments
 (0)