diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-10 04:30:38 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-09 12:30:38 -0500 |
commit | 034e2cc02829c9244b32232074c7a48af827a2fb (patch) | |
tree | bade01606a1ee076c1f753ce99c97ddb1e4edf30 /js/headers_test.ts | |
parent | 8c7a12d1b258f0ef5ab27f49c424331d43e8d97f (diff) |
Migrate from tslint to eslint for linting (#1905)
Diffstat (limited to 'js/headers_test.ts')
-rw-r--r-- | js/headers_test.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/headers_test.ts b/js/headers_test.ts index 223e08daf..4a911f9a5 100644 --- a/js/headers_test.ts +++ b/js/headers_test.ts @@ -3,9 +3,7 @@ import { test, assert, assertEquals } from "./test_util.ts"; // Logic heavily copied from web-platform-tests, make // sure pass mostly header basic test -/* tslint:disable-next-line:max-line-length */ // ref: https://github.com/web-platform-tests/wpt/blob/7c50c216081d6ea3c9afe553ee7b64534020a1b2/fetch/api/headers/headers-basic.html -/* tslint:disable:no-unused-expression */ test(function newHeaderTest() { new Headers(); new Headers(undefined); @@ -75,7 +73,6 @@ test(function headerHasSuccess() { const headers = new Headers(headerDict); for (const name in headerDict) { assert(headers.has(name), "headers has name " + name); - /* tslint:disable-next-line:max-line-length */ assert( !headers.has("nameNotInHeaders"), "headers do not have header: nameNotInHeaders" @@ -177,7 +174,6 @@ test(function headerTypesAvailable() { assert(headers instanceof Headers); }); -// tslint:disable-next-line:max-line-length // Modified from https://github.com/bitinn/node-fetch/blob/7d3293200a91ad52b5ca7962f9d6fd1c04983edb/test/test.js#L2001-L2014 // Copyright (c) 2016 David Frank. MIT License. test(function headerIllegalReject() { |