Skip to content
Snippets Groups Projects
Commit ebbcebec authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
Browse files

Match text with toMatchInterpolatedText

parent 18d7f54f
No related branches found
No related tags found
1 merge request!45424Update dependency @gitlab/ui to v21.34.0
...@@ -313,7 +313,7 @@ describe('Ref selector component', () => { ...@@ -313,7 +313,7 @@ describe('Ref selector component', () => {
findBranchesSection() findBranchesSection()
.find('[data-testid="section-header"]') .find('[data-testid="section-header"]')
.text(), .text(),
).toBe('Branches 123'); ).toMatchInterpolatedText('Branches 123');
}); });
it("does not render an error message in the branches section's body", () => { it("does not render an error message in the branches section's body", () => {
...@@ -392,7 +392,7 @@ describe('Ref selector component', () => { ...@@ -392,7 +392,7 @@ describe('Ref selector component', () => {
findTagsSection() findTagsSection()
.find('[data-testid="section-header"]') .find('[data-testid="section-header"]')
.text(), .text(),
).toBe('Tags 456'); ).toMatchInterpolatedText('Tags 456');
}); });
it("does not render an error message in the tags section's body", () => { it("does not render an error message in the tags section's body", () => {
...@@ -460,7 +460,7 @@ describe('Ref selector component', () => { ...@@ -460,7 +460,7 @@ describe('Ref selector component', () => {
findCommitsSection() findCommitsSection()
.find('[data-testid="section-header"]') .find('[data-testid="section-header"]')
.text(), .text(),
).toBe('Commits 1'); ).toMatchInterpolatedText('Commits 1');
}); });
it("does not render an error message in the comits section's body", () => { it("does not render an error message in the comits section's body", () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment