* Implemented tests.

* Tslint

* Some refactoring.

* Added one more check.

* Added tests for several more methods.

* Renamed test suite.

* Added deletion of test files.

* Fixed gulp task.
This commit is contained in:
Anna Kocheshkova 2018-04-13 13:08:29 +03:00 коммит произвёл Max
Родитель eb789c5286
Коммит dc2f9b5bae
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -68,7 +68,7 @@ gulp.task("build", function () {
}));
});
gulp.task("run-tests", function (callback) {
gulp.task("test", function (callback) {
var tsProject = ts.createProject("tsconfig.json");
tsProject.config.files = glob.sync('./test/**/*.ts');
@ -105,10 +105,6 @@ gulp.task("debug", function (callback) {
runSequence("clean", "build", callback);
});
gulp.task("test", function (callback) {
runSequence("build", "run-tests", callback);
});
gulp.task("default", function (callback) {
runSequence("clean", "build", "tslint", "test", callback);
});