diff options
Diffstat (limited to 'test/cache-map.test.js')
-rw-r--r-- | test/cache-map.test.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/cache-map.test.js b/test/cache-map.test.js index 52ada57c..9db30677 100644 --- a/test/cache-map.test.js +++ b/test/cache-map.test.js @@ -31,9 +31,7 @@ function testConstructor() { [true, () => new CacheMap(-1)], [true, () => new CacheMap(1.5)], [true, () => new CacheMap(Number.NaN)], - [true, () => new CacheMap(Number.POSITIVE_INFINITY)], - // @ts-expect-error - Ignore because it should throw an error - [true, () => new CacheMap('a')] + [true, () => new CacheMap(Number.POSITIVE_INFINITY)] ]; for (const [throws, create] of data) { |