Skip to content

Commit 3373b52

Browse files
authored
Merge pull request #13 from Realytics/fix/integration-test-timeout
Change integration tests timeout - travis can be slow sometimes
2 parents f4bdc3d + 28eac9a commit 3373b52

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/integration/index.spec.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ describe('[INTEGRATION] index', function () {
3434
}
3535

3636
it('should work without configuration', function (callback) {
37+
this.timeout(5000);
38+
3739
var compiler = createCompiler();
3840

3941
compiler.run(function (err, stats) {
@@ -43,6 +45,8 @@ describe('[INTEGRATION] index', function () {
4345
});
4446

4547
it('should block emit on build mode', function (callback) {
48+
this.timeout(5000);
49+
4650
var compiler = createCompiler();
4751
compiler.plugin('fork-ts-checker-emit', function () {
4852
expect(true).to.be.true;
@@ -54,6 +58,8 @@ describe('[INTEGRATION] index', function () {
5458

5559

5660
it('should not block emit on watch mode', function (callback) {
61+
this.timeout(5000);
62+
5763
var compiler = createCompiler();
5864
var watching = compiler.watch({}, function() {});
5965

@@ -83,7 +89,7 @@ describe('[INTEGRATION] index', function () {
8389

8490
it('should find the same errors on multi-process mode', function (callback) {
8591
// set bigger timeout - it can be a little big long test
86-
this.timeout(5000);
92+
this.timeout(10000);
8793

8894
var compilerA = createCompiler({ workers: 1, tslint: true });
8995
var compilerB = createCompiler({ workers: 4, tslint: true });

0 commit comments

Comments
 (0)