From efaee3d5d9de2d52e91ce77173a42781cf11c041 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Sat, 31 Jan 2015 18:11:54 +1100 Subject: [PATCH] remove pending tests --- test/types.js | 40 ---------------------------------------- test/util.js | 20 ++++---------------- 2 files changed, 4 insertions(+), 56 deletions(-) diff --git a/test/types.js b/test/types.js index 8a00081e68..4bf82f3dca 100644 --- a/test/types.js +++ b/test/types.js @@ -12,44 +12,4 @@ suite("types", function () { assert.ok(!t.isFalsyExpression(t.literal(5))); assert.ok(!t.isFalsyExpression(t.identifier("foobar"))); }); - - test("toSequenceExpression"); - - test("shallowEqual"); - - test("appendToMemberExpression"); - - test("prependToMemberExpression"); - - test("isDynamic"); - - test("isReferenced"); - - test("isValidIdentifier"); - - test("toIdentifier"); - - test("ensureBlock"); - - test("toStatement"); - - test("toBlock"); - - test("getUid"); - - test("getIds"); - - test("isLet"); - - test("isVar"); - - test("removeComments"); - - test("inheritsComments"); - - test("inherits"); - - test("getSpecifierName"); - - test("isSpecifierDefault"); }); diff --git a/test/util.js b/test/util.js index 4f2fead371..bc1a467bb2 100644 --- a/test/util.js +++ b/test/util.js @@ -22,6 +22,10 @@ suite("util", function () { assert.ok(util.canCompile("/test.es")); assert.ok(util.canCompile("/scripts/test.es")); + assert.ok(util.canCompile("test.jsx")); + assert.ok(util.canCompile("/test.jsx")); + assert.ok(util.canCompile("/scripts/test.jsx")); + assert.ok(!util.canCompile("test")); assert.ok(!util.canCompile("test.css")); assert.ok(!util.canCompile("/test.css")); @@ -75,24 +79,8 @@ suite("util", function () { }, /illegal type for regexify/); }); - test("getIds"); - - test("toStatement"); - - test("toBlock"); - test("toIdentifier", function () { assert.equal(t.toIdentifier(t.identifier("swag")), "swag"); assert.equal(t.toIdentifier("swag-lord"), "swagLord"); }); - - test("isDynamic"); - - test("isReferenced"); - - test("removeProperties"); - - test("ensureBlock"); - - test("pushMutatorMap"); });