Skip to content

Commit

Permalink
Merge pull request #434 from SockDrawer/greenkeeper/chai-as-promised-…
Browse files Browse the repository at this point in the history
…7.1.1

Greenkeeper/chai as promised 7.1.1
  • Loading branch information
AccaliaDeElementia authored Jul 5, 2017
2 parents e40819d + b10be05 commit 6c63ade
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"devDependencies": {
"bithound": "^1.7.0",
"chai": "^4.0.1",
"chai-as-promised": "^7.0.0",
"chai-as-promised": "^7.1.1",
"chai-string": "^1.2.0",
"codeclimate-test-reporter": "^0.4.0",
"commitizen": "^2.8.5",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^4.1.0",
"glob": "^7.1.1",
"husky": "^0.14.0",
"husky": "^0.14.3",
"istanbul": "^0.4.3",
"jsdoc-to-markdown": "^3.0.0",
"mkdirp": "^0.5.1",
Expand Down
4 changes: 2 additions & 2 deletions test/lib/utilsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ describe('lib/utils', () => {
});
describe('iterate()', () => {
it('should resolve on empty input', () => {
return utils.iterate([]).should.eventually.resolve;
return utils.iterate([]).should.eventually.be.fulfilled;
});
it('should resolve on null input', () => {
return utils.iterate(null).should.eventually.resolve;
return utils.iterate(null).should.eventually.be.fulfilled;
});
it('should pass value to iterator', () => {
const spy = sinon.stub().resolves();
Expand Down
4 changes: 2 additions & 2 deletions test/providers/nodebb/indexTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -664,12 +664,12 @@ describe('providers/nodebb', () => {
};
});
it('should accept direct generation function', () => {
return forum.addPlugin(() => plug).should.be.resolved;
return forum.addPlugin(() => plug).should.be.fulfilled;
});
it('should accept indirect generation function', () => {
return forum.addPlugin({
plugin: () => plug
}).should.be.resolved;
}).should.be.fulfilled;
});
it('should add plugin to plugin list', () => {
forum._plugins = [5, 3, 4, 1, 2];
Expand Down
2 changes: 1 addition & 1 deletion test/providers/nodebb/notificationTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ describe('providers/nodebb/notification', () => {
it('should not reject when Post.preview rejects for non mention notification', () => {
data.type = 'not a mention';
forum.Post.preview.rejects('bad');
return notification.getText().should.be.resolved;
return notification.getText().should.be.fulfilled;
});
});
describe('url()', () => {
Expand Down

0 comments on commit 6c63ade

Please sign in to comment.