DEV: Fix failing test on CI due to whitespace differences
I could not replicate the failure locally, but it was consistently failing on CI with: ``` Assertion Failed: it should escape watched words Expected: <img src="x">, Actual: <img src="x"> ``` This commit removes an extra space that was added originally, but I don't think it is really needed after double checking how it displays in the UI. The `x` icon and the word have sufficient spacing between them. If we need to we can tweak it in css instead.
This commit is contained in:
parent
dcada66aa0
commit
2bb36d72a3
|
@ -1 +1 @@
|
|||
{{xIcon}} {{watchedWord}}
|
||||
{{xIcon}}{{watchedWord}}
|
||||
|
|
|
@ -34,7 +34,7 @@ QUnit.test("list words in groups", async assert => {
|
|||
|
||||
assert.equal(
|
||||
$(find(".watched-words-list .watched-word")[2]).text(),
|
||||
' <img src="x">',
|
||||
'<img src="x">',
|
||||
"it should escape watched words"
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue