Skip to content

Commit

Permalink
Other: Moved checks whether a test case is applicable to parent case
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jan 25, 2017
1 parent 3fcd88c commit 73721f1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/aspromise/tests/index.js
Expand Up @@ -2,7 +2,6 @@ var tape = require("tape");

var asPromise = require("..");

if (typeof Promise !== "undefined")
tape.test("aspromise", function(test) {

test.test(this.name + " - resolve", function(test) {
Expand Down
1 change: 0 additions & 1 deletion lib/pool/tests/index.js
Expand Up @@ -2,7 +2,6 @@ var tape = require("tape");

var pool = require("..");

if (typeof Uint8Array !== "undefined")
tape.test("pool", function(test) {

var alloc = pool(function(size) { return new Uint8Array(size); }, Uint8Array.prototype.subarray);
Expand Down
3 changes: 2 additions & 1 deletion tests/lib_aspromise.js
@@ -1 +1,2 @@
require("../lib/aspromise/tests");
if (typeof Promise !== "undefined")
require("../lib/aspromise/tests");
5 changes: 4 additions & 1 deletion tests/lib_inquire.js
@@ -1 +1,4 @@
require("../lib/inquire/tests");
var protobuf = require("..");

if (protobuf.util.isNode)
require("../lib/inquire/tests");
3 changes: 2 additions & 1 deletion tests/lib_pool.js
@@ -1 +1,2 @@
require("../lib/pool/tests");
if (typeof Uint8Array !== "undefined")
require("../lib/pool/tests");

0 comments on commit 73721f1

Please sign in to comment.