mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 00:15:40 +08:00
DEV: Remove unnecessary watched word test
This test is longer needed now that we are using handlebars which provides escaping by default. Follow up to 2bb36d72a3874c3e0436edddf535e7e1dc6e95ca and bb31e7f5b6150e7d30461cdeef9b537f43f3caee
This commit is contained in:
parent
2bb36d72a3
commit
fac91a9e71
@ -32,12 +32,6 @@ QUnit.test("list words in groups", async assert => {
|
||||
"Always show the words when checkbox is checked."
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
$(find(".watched-words-list .watched-word")[2]).text(),
|
||||
'<img src="x">',
|
||||
"it should escape watched words"
|
||||
);
|
||||
|
||||
await click(".nav-stacked .censor a");
|
||||
|
||||
assert.ok(exists(".watched-words-list"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user