Skip to content

Commit 7773ccf

Browse files
committed
remove tests on travis copies for tsdrc
1 parent 5a2fbae commit 7773ccf

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

test/node/test-preprocessors.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,28 +108,4 @@ describe('gulp-angular generator preprocessors script', function () {
108108
generator.files[5].src.should.match(/tslint/);
109109
});
110110
});
111-
112-
describe('add travis files', function () {
113-
it('should not add file if there is no travis env', function () {
114-
process.env.TRAVIS = 'false';
115-
generator.travisCopies();
116-
generator.files.length.should.be.equal(5);
117-
});
118-
119-
it('should not add file if travis but no typescript', function () {
120-
process.env.TRAVIS = 'true';
121-
generator.props = { jsPreprocessor: { key: 'not typescript' } };
122-
generator.travisCopies();
123-
generator.files.length.should.be.equal(5);
124-
});
125-
126-
it('should add file if travis and typescript', function () {
127-
process.env.TRAVIS = 'true';
128-
generator.props = { jsPreprocessor: { key: 'typescript' } };
129-
generator.travisCopies();
130-
generator.files.length.should.be.equal(6);
131-
generator.files[5].src.should.match(/tsdrc/);
132-
});
133-
});
134-
135111
});

0 commit comments

Comments
 (0)