Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgrambo-zz committed Apr 2, 2020
1 parent e16c110 commit 68b788a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion gulpfile.js
Expand Up @@ -34,7 +34,10 @@ function browserTask(minify) {
if (minify) {
task = task
.pipe(vinylBuffer())
.pipe(uglify());
.pipe(uglify().on('error', function(err) {
console.log(err.toString());
this.emit('end');
}));
}
task.pipe(gulp.dest('dist'));

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/auth/auto_detect_spec.js
Expand Up @@ -11,7 +11,7 @@ describe('autoDetect', function() {
var sandbox;

beforeEach(function(){
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
});

afterEach(function(){
Expand Down
4 changes: 2 additions & 2 deletions test/resources/resource_spec.js
Expand Up @@ -9,7 +9,7 @@ describe('Resource', function() {

var sandbox;
beforeEach(function () {
sandbox = sinon.sandbox.create();
sandbox = sinon.createSandbox();
});

afterEach(function () {
Expand Down Expand Up @@ -133,4 +133,4 @@ describe('Resource', function() {
});
});

});
});

0 comments on commit 68b788a

Please sign in to comment.