Skip to content

Commit

Permalink
Test(main): Don’t skip tests
Browse files Browse the repository at this point in the history
Invalid cache should just fail the test
[ci skip]
  • Loading branch information
fvdm committed Sep 27, 2017
1 parent f076fff commit 962029a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ dotest.add ('.create', function () {


dotest.add ('.get', function () {
if (!cache.bin) {
console.log ('skip - .get');
return;
}

app.get (cache.bin.name, function (err, data) {
dotest.test (err)
.isObject ('fail', 'data', data)
Expand All @@ -80,11 +75,6 @@ dotest.add ('.get', function () {


dotest.add ('.requests', function () {
if (!cache.bin) {
console.log ('skip - .requests');
return;
}

app.requests (cache.bin.name, function (err, data) {
cache.request = data && data [0] || null;
dotest.test (err)
Expand All @@ -97,11 +87,6 @@ dotest.add ('.requests', function () {


dotest.add ('.request', function () {
if (!cache.request) {
console.log ('skip - .request');
return;
}

app.request (cache.bin.name, cache.request.id, function (err, data) {
dotest.test (err)
.isObject ('fail', 'data', data)
Expand Down

0 comments on commit 962029a

Please sign in to comment.