diff --git a/app/assets/javascripts/discourse/tests/unit/lib/plugin-api-test.js b/app/assets/javascripts/discourse/tests/unit/lib/plugin-api-test.js index 7b708d2e321..4240487ca0a 100644 --- a/app/assets/javascripts/discourse/tests/unit/lib/plugin-api-test.js +++ b/app/assets/javascripts/discourse/tests/unit/lib/plugin-api-test.js @@ -47,10 +47,9 @@ module("Unit | Utility | plugin-api", function (hooks) { api.modifyClass("native-test-thingy:main", { pluginId: "plugin-api-test", - @discourseComputed - prop() { + prop: computed(function () { return `${this._super(...arguments)} partner`; - }, + }), }); });