mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 14:54:11 +08:00

`window.deprecationWorkflow` does not exist in the server-side pretty-text environment. This commit fixes the check and adds a general spec for deprecations triggered inside pretty-text