Commit 8809ebed authored by Justin Ho's avatar Justin Ho

Use const for spec expect statements

parent d0f24dca
......@@ -139,8 +139,10 @@ describe('IssueAssigneesComponent', () => {
],
});
expect(findTooltipText()).toContain(userName);
expect(findTooltipText()).not.toContain('@');
const tooltipText = findTooltipText();
expect(tooltipText).toContain(userName);
expect(tooltipText).not.toContain('@');
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment