Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tagged_literals): #1717 Use tagged literals in jest tests #3902

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MegaaDev
Copy link

What is the previous behavior before this PR?

initial syntax :
expect("\underrightarrow{x}").toParse();

What is the new behavior after this PR?

Babel 7 supports revised template literals
hence changed syntax : expect\underrightarrow{x}.toParse();

issue number: #1717

expect`\xrightarrow{x}_2`toBuild();
expect`\xrightarrow{x}_2^2`toBuild();
expect`\xrightarrow[under]{over}`toBuild();

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI reveals that .s are missing in these examples. You can use yarn and then yarn test:jest locally to reproduce CI testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants