diff --git a/lib/6to5/register.js b/lib/6to5/register.js index c8740a38d5..81f74afa3b 100644 --- a/lib/6to5/register.js +++ b/lib/6to5/register.js @@ -50,7 +50,7 @@ blacklistTest("propertyMethodAssignment", "{ get foo() {} }"); blacklistTest("propertyNameShorthand", "var foo = { x, y };"); blacklistTest("restParameters", "function foo(...bar) {}"); blacklistTest("spread", "foo(...bar);"); -blacklistTest("templateLiterals", "`foo`"); +blacklistTest("templateLiterals", "var foo = `foo`;"); blacklistTest("unicodeRegex", function () { new RegExp("foo", "u"); }); //