Skip to content

Commit

Permalink
Fixes deprecation warnings on install due to outdated mocha (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleigh committed Oct 18, 2017
1 parent 156b4fa commit 6628c8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,9 +1,8 @@
language: node_js
sudo: false
node_js:
- 0.10
- 0.12
- 4
- 6
- stable
env:
- CXX=g++-4.8 CXXFLAGS=-std=c++11
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -76,7 +76,7 @@
"concat-stream": "^1.5.1",
"eslint": "^2.9.0",
"istanbul": "^0.4.5",
"mocha": "^2.5.3",
"mocha": "^4.0.1",
"nsp": "^2.6.3",
"request": "^2.81.0",
"sinon": "^1.17.7",
Expand Down
4 changes: 2 additions & 2 deletions test/unit/providers/memory.spec.js
Expand Up @@ -27,7 +27,7 @@ describe('memory provider', function() {

it('should return a stream of the content if found', function(done) {
store['/index.html'] = 'foobar';
return provider({}, '/index.html').then(function(result) {
provider({}, '/index.html').then(function(result) {
var out = '';
result.stream.on('data', function(data) {
out += data;
Expand All @@ -36,7 +36,7 @@ describe('memory provider', function() {
expect(out).to.eq('foobar');
done();
});
});
}, done);
});

it('should return an etag of the content', function() {
Expand Down

0 comments on commit 6628c8b

Please sign in to comment.