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
Martin Brennan 045be237a0
DEV: Fix failing share topic tests (#16309)
Since 3fd7b31a2a some tests
were failing with this error:

> Error: Unhandled request in test environment: /c/feature/find_by_slug.json
> (GET) at http://localhost:7357/assets/test-helpers.js

This commit fixes the issue by adding the missing pretender. Also
noticed while fixing this that the parameter for the translation
was incorrect -- it was `group` instead of `groupNames`, so that
is fixed here too, along with moving the onShow functions into
@afterRender decorated private functions. There is no need for the
appevent listeners.
2022-03-29 15:11:44 +08:00
..
app DEV: Fix failing share topic tests (#16309) 2022-03-29 15:11:44 +08:00
config DEV: Allow ember server --environment production to be used (#15431) 2021-12-31 12:26:23 +00:00
lib FIX: Allow @ember/test import in embercli prod builds (#16264) 2022-03-23 14:28:09 +01:00
public/assets/scripts DEV: Allow access to ember-computed-decorators under ember-cli (#15945) 2022-02-16 11:16:28 +00:00
tests DEV: Fix failing share topic tests (#16309) 2022-03-29 15:11:44 +08:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Stop live-reloading locally on SCSS changes (#16193) 2022-03-15 16:46:12 +01:00
package.json DEV: Update Uppy to 2.1.6 (#16227) 2022-03-23 09:28:55 -04:00
testem.js FIX: When using Ember CLI, plugin admin code was not being loaded in tests (#16239) 2022-03-21 15:46:41 -04:00