diff --git a/test/babel-eslint.js b/test/babel-eslint.js index 98b7e939..99b03f25 100644 --- a/test/babel-eslint.js +++ b/test/babel-eslint.js @@ -166,6 +166,10 @@ describe("babylon-to-espree", () => { }}\`; `); }); + + it("template string with object with template string inside", () => { + parseAndAssertSame("`${ { a:`${2}` } }`"); + }); }); it("simple expression", () => {