diff --git a/packages/babel/test/_transformation-helper.js b/packages/babel/test/_transformation-helper.js index 2ad933b604..dd61dd4a65 100644 --- a/packages/babel/test/_transformation-helper.js +++ b/packages/babel/test/_transformation-helper.js @@ -59,7 +59,7 @@ var run = function (task, done) { return _.merge({ suppressDeprecationMessages: true, filename: self.loc, - sourceMap: !!(task.sourceMappings || test.sourceMap) + sourceMap: !!(task.sourceMappings || task.sourceMap) }, opts); }; diff --git a/packages/babel/test/util.js b/packages/babel/test/util.js index 28a6cd26fa..b85a6e837c 100644 --- a/packages/babel/test/util.js +++ b/packages/babel/test/util.js @@ -102,11 +102,6 @@ suite("util", function () { assert.strictEqual(util.booleanify("inline"), "inline"); }); - test("resolve", function () { - assert.notEqual(util.resolve("is-integer").indexOf("node_modules/is-integer"), -1); - assert.equal(util.resolve("foo-bar-module"), null); - }); - test("toIdentifier", function () { assert.equal(t.toIdentifier(t.identifier("swag")), "swag"); assert.equal(t.toIdentifier("swag-lord"), "swagLord");