Skip to content

Commit f153b04

Browse files
committed
Revert changes to unit tests
1 parent 0b96348 commit f153b04

37 files changed

+9345
-12426
lines changed

Gulpfile.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -625,21 +625,19 @@ function cleanPrivatePackage(packageName: string) {
625625
return del([`scripts/${packageName}/dist`]);
626626
}
627627

628-
gulp.task("typemock", () => compilePrivatePackage("typemock"));
629628
gulp.task("vfs-core", () => compilePrivatePackage("vfs-core"));
630629
gulp.task("vfs-errors", () => compilePrivatePackage("vfs-errors"));
631630
gulp.task("vfs-path", ["vfs-core", "vfs-errors"], () => compilePrivatePackage("vfs-path"));
632-
gulp.task("vfs", ["vfs-core", "vfs-errors", "vfs-path", "typemock"], () => compilePrivatePackage("vfs"));
631+
gulp.task("vfs", ["vfs-core", "vfs-errors", "vfs-path"], () => compilePrivatePackage("vfs"));
633632
gulp.task("harness-core", ["vfs-core"], () => compilePrivatePackage("harness-core"));
634-
gulp.task("private-packages", ["typemock", "vfs", "harness-core"]);
633+
gulp.task("private-packages", ["vfs", "harness-core"]);
635634

636-
gulp.task("clean:typemock", () => cleanPrivatePackage("typemock"));
637635
gulp.task("clean:vfs-core", () => cleanPrivatePackage("vfs-core"));
638636
gulp.task("clean:vfs-errors", () => cleanPrivatePackage("vfs-errors"));
639637
gulp.task("clean:vfs-path", ["clean:vfs-core", "clean:vfs-errors"], () => cleanPrivatePackage("vfs-path"));
640-
gulp.task("clean:vfs", ["clean:vfs-core", "clean:vfs-errors", "clean:vfs-path", "clean:typemock"], () => cleanPrivatePackage("vfs"));
638+
gulp.task("clean:vfs", ["clean:vfs-core", "clean:vfs-errors", "clean:vfs-path"], () => cleanPrivatePackage("vfs"));
641639
gulp.task("clean:harness-core", ["clean:vfs-core"], () => cleanPrivatePackage("harness-core"));
642-
gulp.task("clean:private-packages", ["clean:typemock", "clean:vfs", "clean:harness-core"]);
640+
gulp.task("clean:private-packages", ["clean:vfs", "clean:harness-core"]);
643641

644642
// Task to build the tests infrastructure using the built compiler
645643
const run = path.join(builtLocalDirectory, "run.js");
@@ -1161,5 +1159,5 @@ gulp.task("lint", "Runs tslint on the compiler sources. Optional arguments are:
11611159
gulp.task("default", "Runs 'local'", ["local"]);
11621160

11631161
gulp.task("watch", "Watches the src/ directory for changes and executes runtests-parallel.", [], () => {
1164-
gulp.watch(["src/**/*.*", "scripts/typemock/src/**/*.*"], ["runtests-parallel"]);
1162+
gulp.watch(["src/**/*.*"], ["runtests-parallel"]);
11651163
});

Jakefile.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -813,29 +813,27 @@ function privatePackage(packageName, prereqs) {
813813
complete();
814814
}
815815
measure(startCompileTime);
816-
});
816+
});
817817
}, { async: true });
818818
}
819819

820820
function cleanPrivatePackage(packageName) {
821821
jake.rmRf(`scripts/${packageName}/dist`);
822822
}
823823

824-
privatePackage("typemock");
825824
privatePackage("vfs-core");
826825
privatePackage("vfs-errors");
827826
privatePackage("vfs-path", ["vfs-core", "vfs-errors"]);
828-
privatePackage("vfs", ["vfs-path", "typemock"]);
827+
privatePackage("vfs", ["vfs-path"]);
829828
privatePackage("harness-core", ["vfs-core"]);
830-
task("private-packages", ["typemock", "vfs", "harness-core"]);
829+
task("private-packages", ["vfs", "harness-core"]);
831830

832-
task("clean-typemock", () => cleanPrivatePackage("typemock"));
833831
task("clean-vfs-core", () => cleanPrivatePackage("vfs-core"));
834832
task("clean-vfs-errors", () => cleanPrivatePackage("vfs-errors"));
835833
task("clean-vfs-path", ["clean-vfs-core", "clean-vfs-errors"], () => cleanPrivatePackage("vfs-path"));
836-
task("clean-vfs", ["clean-vfs-path", "clean-typemock"], () => cleanPrivatePackage("vfs"));
834+
task("clean-vfs", ["clean-vfs-path"], () => cleanPrivatePackage("vfs"));
837835
task("clean-harness-core", ["clean-vfs-core"], () => cleanPrivatePackage("harness-core"));
838-
task("clean-private-packages", ["clean-typemock", "clean-vfs", "clean-harness-core"]);
836+
task("clean-private-packages", ["clean-vfs", "clean-harness-core"]);
839837

840838
// Task to build the tests infrastructure using the built compiler
841839
var run = path.join(builtLocalDirectory, "run.js");
@@ -1337,7 +1335,7 @@ desc("Runs tslint on the compiler sources. Optional arguments are: f[iles]=regex
13371335
task("lint", ["build-rules"], () => {
13381336
if (fold.isTravis()) console.log(fold.start("lint"));
13391337
const fileMatcher = process.env.f || process.env.file || process.env.files;
1340-
1338+
13411339
const files = fileMatcher
13421340
? `src/**/${fileMatcher}`
13431341
: `Gulpfile.ts scripts/generateLocalizedDiagnosticMessages.ts "scripts/tslint/**/*.ts" "src/**/*.ts" --exclude "src/lib/*.d.ts"`;

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
"travis-fold": "latest",
8686
"ts-node": "latest",
8787
"tslint": "latest",
88-
"typemock": "file:scripts/typemock",
8988
"typescript": "next",
9089
"vinyl": "latest",
9190
"xml2js": "^0.4.19"

scripts/typemock/gulpfile.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

scripts/typemock/package.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)