Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 1999537

Browse files
committed
Tests: DefinitelyTyped tests expanded to include several popular libraries
1 parent d88f296 commit 1999537

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

gulpfile.js

+17-2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ gulp.task("test-definitely-typed", function(callback)
6969
[
7070
[ "node_modules/typescript/lib/lib.d.ts" ],
7171
[ "node_modules/typescript/lib/lib.es6.d.ts" ],
72+
[ "node_modules/typescript/lib/lib.es7.d.ts" ],
73+
[ "node_modules/typescript/lib/typescript.d.ts" ],
74+
[ "node_modules/typescript/lib/typescriptServices.d.ts" ],
7275
[
7376
"../DefinitelyTyped/createjs-lib/createjs-lib.d.ts",
7477
"../DefinitelyTyped/tweenjs/tweenjs.d.ts",
@@ -81,21 +84,33 @@ gulp.task("test-definitely-typed", function(callback)
8184
["../DefinitelyTyped/box2d/box2dweb.d.ts"],
8285
["../DefinitelyTyped/chartjs/chart.d.ts"],
8386
["../DefinitelyTyped/commonmark/commonmark.d.ts"],
87+
["../DefinitelyTyped/facebook-js-sdk/facebook-js-sdk.d.ts"],
8488
["../DefinitelyTyped/firebase/firebase.d.ts"],
8589
["../DefinitelyTyped/fbsdk/fbsdk.d.ts"],
8690
["../DefinitelyTyped/google.analytics/ga.d.ts"],
8791
["../DefinitelyTyped/greensock/greensock.d.ts"],
92+
["../DefinitelyTyped/gruntjs/gruntjs.d.ts"],
8893
["../DefinitelyTyped/handlebars/handlebars.d.ts"],
8994
["../DefinitelyTyped/history/history.d.ts"],
9095
["../DefinitelyTyped/humane/humane.d.ts"],
96+
["../DefinitelyTyped/ionic/ionic.d.ts"],
9197
["../DefinitelyTyped/jade/jade.d.ts"],
9298
["../DefinitelyTyped/jquery/jquery.d.ts"],
99+
[
100+
//jquery ui modifies jquery types, so they must be
101+
//compiled together
102+
"../DefinitelyTyped/jquery/jquery.d.ts",
103+
"../DefinitelyTyped/jqueryui/jqueryui.d.ts"
104+
],
93105
["../DefinitelyTyped/less/less.d.ts"],
94106
["../DefinitelyTyped/marked/marked.d.ts"],
107+
["../DefinitelyTyped/mkdirp/mkdirp.d.ts"],
95108
["../DefinitelyTyped/mocha/mocha.d.ts"],
96109
["../DefinitelyTyped/minimist/minimist.d.ts"],
97110
["../DefinitelyTyped/mustache/mustache.d.ts"],
98-
//["../DefinitelyTyped/node/node.d.ts"],
111+
["../DefinitelyTyped/node/node.d.ts"],
112+
["../DefinitelyTyped/node-webkit/node-webkit.d.ts"],
113+
["../DefinitelyTyped/onsenui/onsenui.d.ts"],
99114
["../DefinitelyTyped/page/page.d.ts"],
100115
["../DefinitelyTyped/pdf/pdf.d.ts"],
101116
["../DefinitelyTyped/pixi.js/pixi.js.d.ts"],
@@ -133,7 +148,7 @@ function run_dts2as(files, callback)
133148
console.error("Apache FlexJS SDK not found: " + flexHome);
134149
process.exit(1);
135150
}
136-
child_process.exec("node " + path.join("bin", "cli.js") + " --flexHome " + flexHome + " --target ES6 --outSWC " + path.join("dts2astests_temp", "test.swc") + " " + files.join(" "),
151+
child_process.exec("node " + path.join("bin", "cli.js") + " --flexHome " + flexHome + " --target ES6 --outDir dts2astests_temp --outSWC " + path.join("dts2astests_temp", "test.swc") + " " + files.join(" "),
137152
{},
138153
function(error)
139154
{

0 commit comments

Comments
 (0)