Skip to content

Commit

Permalink
fix(test): fix broken test due to dependencies bump
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Nov 16, 2017
1 parent 721e15e commit 0e02246
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/scripts/console/list_categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Console list', () => {

before(() => {
var log = console.log;
sinon.stub(console, 'log', function(...args) {
sinon.stub(console, 'log').callsFake(function(...args) {
return log.apply(log, args);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/console/list_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Console list', () => {
hexo.config.permalink = ':title/';
before(() => {
var log = console.log;
sinon.stub(console, 'log', function(...args) {
sinon.stub(console, 'log').callsFake(function(...args) {
return log.apply(log, args);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/console/list_post.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Console list', () => {

before(() => {
var log = console.log;
sinon.stub(console, 'log', function(...args) {
sinon.stub(console, 'log').callsFake(function(...args) {
return log.apply(log, args);
});
});
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/console/list_tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Console list', () => {
hexo.config.permalink = ':title/';
before(() => {
var log = console.log;
sinon.stub(console, 'log', function(...args) {
sinon.stub(console, 'log').callsFake(function(...args) {
return log.apply(log, args);
});
});
Expand Down

0 comments on commit 0e02246

Please sign in to comment.