This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/tests/unit/services
Sérgio Saquetim b16028bc79
FIX: Inject appEvents in ScreenTrack (#17751)
This commit reverts partially https://github.com/discourse/discourse/pull/17543.

Service appEvents was not being injected in ScreenTrack. This causes
`this.appEvents.trigger("topic:timings-sent", data);` to fail and the error is
swallowed by the `catch` on the promise.

This caused a regression on plugins that rely on this event to implement other
behaviors.
2022-08-02 16:22:17 -03:00
..
current-user-test.js DEV: Replace current-user:main with service:current-user 2022-08-02 20:16:11 +01:00
document-title-test.js DEV: Replace equal() with strictEqual() (#14827) 2021-11-08 10:26:28 +01:00
emoji-store-test.js DEV: Move emoji-store test to the correct dir (#17544) 2022-07-17 23:44:10 +02:00
presence-test.js DEV: Always await for publishToMessageBus (#17626) 2022-07-24 19:55:58 +02:00
screen-track-test.js FIX: Inject appEvents in ScreenTrack (#17751) 2022-08-02 16:22:17 -03:00
store-test.js FIX: Ensure injections are skipped when rehydrating stale models (#17574) 2022-07-19 21:53:32 +01:00