DEV: Remove defunct TODOs (#19825)

* Firefox now finally returns PerformanceMeasure from performance.measure
* Some TODOs were really more NOTE or FIXME material or no longer relevant
* retain_hours is not needed in ExternalUploadsManager,  it doesn't seem like anywhere in the UI sends this as a param for uploads
* https://github.com/discourse/discourse/pull/18413 was merged so we can remove JS test workaround for settings
This commit is contained in:
Martin Brennan
2023-01-12 09:41:39 +10:00
committed by GitHub
parent 92bb728fe5
commit 21a95b000e
8 changed files with 7 additions and 24 deletions
@@ -16,13 +16,10 @@ module("Discourse Chat | Unit | chat-emoji-reaction-store", function (hooks) {
this.chatEmojiReactionStore.reset();
});
// TODO (martin) Remove site setting workarounds after core PR#1290
test("defaults", function (assert) {
assert.deepEqual(
this.chatEmojiReactionStore.favorites,
(this.siteSettings.default_emoji_reactions || "")
.split("|")
.filter((val) => val)
this.siteSettings.default_emoji_reactions.split("|").filter((val) => val)
);
});