From 2ee148f5a137c6af5e0aa1c9c4ce0b03fe09263e Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 13 Dec 2018 00:58:02 +0100 Subject: [PATCH] Meta tweaks --- package.json | 2 +- source/tests/test.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5ef42c7..40dd260 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@types/node": "^10.12.10", "@types/tempy": "^0.2.0", "@types/zen-observable": "^0.8.0", - "ava": "*", + "ava": "^0.25.0", "del-cli": "^1.1.0", "jsdom": "^11.6.2", "rxjs": "^6.3.3", diff --git a/source/tests/test.ts b/source/tests/test.ts index 98cb287..3dd2f59 100644 --- a/source/tests/test.ts +++ b/source/tests/test.ts @@ -681,8 +681,9 @@ test('is.class', t => { }); test('is.typedArray', t => { - // Typescript currently does not support empty constructors for these + // TypeScript currently does not support empty constructors for these // See https://github.com/Microsoft/TypeScript/issues/19680 + // TODO: Remove the `0` when targeting `es2017` (Node.js 8), in other places of this file too. const typedArrays = [ new Int8Array(0), new Uint8Array(0),