From bcfd5999d66ecf248e8479a325c4acfd516b6e24 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 13 Oct 2014 20:12:58 +1100 Subject: [PATCH] add more pending tests --- test/traverse.js | 4 ++++ test/util.js | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/test/traverse.js b/test/traverse.js index 46224d288e..112b312995 100644 --- a/test/traverse.js +++ b/test/traverse.js @@ -138,4 +138,8 @@ suite("traverse", function () { }); test("hasType"); + + test("isPattern"); + + test("isFunction"); }); diff --git a/test/util.js b/test/util.js index e00a65fdfb..03819a7b14 100644 --- a/test/util.js +++ b/test/util.js @@ -14,6 +14,12 @@ suite("util", function () { }, /a get already exists for this property/); }); + test("invalid template", function () { + assert.throws(function () { + util.template("invalid template"); + }, /unknown template/); + }); + test("canCompile", function () { assert.ok(util.canCompile("test.js")); assert.ok(util.canCompile("/test.js")); @@ -39,12 +45,6 @@ suite("util", function () { assert.ok(!util.isAbsolute("test/test.js")); }); - test("invalid template", function () { - assert.throws(function () { - util.template("invalid template"); - }, /unknown template/); - }); - test("getIds"); test("isReferenced"); @@ -52,4 +52,6 @@ suite("util", function () { test("removeProperties"); test("ensureBlock"); + + test("pushMutatorMap"); });