From: Iskren Chernev Date: Sat, 25 Apr 2020 18:00:43 +0000 (+0300) Subject: [misc] Fix ts3.1 tests, reenable them in pipeline X-Git-Tag: 2.25.0~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2aa0b05be2305ded8db2e604087493930e8b080;p=thirdparty%2Fmoment.git [misc] Fix ts3.1 tests, reenable them in pipeline --- diff --git a/Gruntfile.js b/Gruntfile.js index 8e6003db0..7df8f436f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -198,7 +198,7 @@ module.exports = function (grunt) { grunt.registerTask('lint', ['jshint', 'jscs']); // test tasks - grunt.registerTask('test', ['test:node', 'test:typescript' /*, 'test:typescript-3.1' */]); + grunt.registerTask('test', ['test:node', 'test:typescript', 'test:typescript-3.1']); grunt.registerTask('test:node', ['transpile', 'qtest']); grunt.registerTask('test:typescript', ['exec:typescript-test']); grunt.registerTask('test:typescript-3.1', ['exec:ts3.1-typescript-test']); diff --git a/ts3.1-typing-tests/tsconfig.json b/ts3.1-typing-tests/tsconfig.json index 0083935fb..59192d708 100644 --- a/ts3.1-typing-tests/tsconfig.json +++ b/ts3.1-typing-tests/tsconfig.json @@ -5,6 +5,7 @@ "noEmit": true, "noImplicitAny": true, "strictNullChecks": true, + "lib": ["ES2015"], }, "files": [ "../ts3.1-typings/moment.d.ts",