Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
Add test for template string with object with template string inside (#…
Browse files Browse the repository at this point in the history
…639)

Closes #538.
Fixes #537.

Now that #610 has landed, I wanted to make sure this case was covered.
  • Loading branch information
existentialism committed Jun 22, 2018
1 parent 476426a commit 5881648
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/babel-eslint.js
Expand Up @@ -166,6 +166,10 @@ describe("babylon-to-espree", () => {
}}\`;
`);
});

it("template string with object with template string inside", () => {
parseAndAssertSame("`${ { a:`${2}` } }`");
});
});

it("simple expression", () => {
Expand Down

0 comments on commit 5881648

Please sign in to comment.