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),