Skip to content

Commit

Permalink
Speed up CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dominickp committed Nov 8, 2016
1 parent f40f5e5 commit b54f292
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
6 changes: 1 addition & 5 deletions test/job/fileJob.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ describe('FileJob', function() {

afterEach("remove temporary file", function(done){
tempFolderCleanupCallback();
if(process.env.NODE_ENV === "TEST") {
setTimeout(done, 1500);
} else {
done();
}
done();
});

// Function to add a new job to the watched nest
Expand Down
6 changes: 1 addition & 5 deletions test/job/folderJob.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ describe('FolderJob', function() {

afterEach("remove temporary file", function(done){
tempFolderCleanupCallback();
if(process.env.NODE_ENV === "TEST") {
setTimeout(done, 1500);
} else {
done();
}
done();
});

// Function to add a new job to the watched nest
Expand Down
6 changes: 1 addition & 5 deletions test/job/job.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ describe('Job', function() {

afterEach("remove temporary file", function(done){
tempFolderCleanupCallback();
if(process.env.NODE_ENV === "TEST") {
setTimeout(done, 1500);
} else {
done();
}
done();
});

// Function to add a new job to the watched nest
Expand Down
6 changes: 1 addition & 5 deletions test/nest/folder.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ describe('Nest Folder', function() {

afterEach(function(done) {
tmpobj.removeCallback();
if(process.env.NODE_ENV === "TEST") {
setTimeout(done, 1500);
} else {
done();
}
done();
});

describe('Loading', function() {
Expand Down

0 comments on commit b54f292

Please sign in to comment.