Skip to content

Commit

Permalink
test: remove obsolete tet
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed May 17, 2021
1 parent 63ca455 commit 1a514d5
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/server/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,25 +103,6 @@ test("Will generate correct polyfills for IE11. #1", async t => {
t.true(result.statusCode === constants.HTTP_STATUS_OK);
});

test("Will inline regenerator-runtime if required. #1", async t => {
const result = await sendRequest({
http2: config.http2,
tls: false,
userAgent: ie("11"),
method: "GET",
host: config.host,
port: config.port,
path: `${constant.endpoint.polyfill}?features=form-data`,
acceptEncoding: undefined
});

if (!("body" in result)) {
t.false("The API didn't have a body");
} else {
t.false(result.body.toString().includes(`require("regenerator-runtime")`));
}
});

test("Will correctly escape unicode escape sequences. #1", async t => {
const result = await sendRequest({
http2: config.http2,
Expand Down

0 comments on commit 1a514d5

Please sign in to comment.