discourse/test/javascripts/helpers
Mark VanLandingham 176aa0ac7d
DEV: Import pretender instead of global server var (#8996)
* DEV: Remove server global test variable

* Delete yarn-error.log

* prettier and some eslint fixes

* add global server variable back for plugins

* rename imported server to pretender

* prettier

* support plugin server. usage

* Export pretender as named

* Prettier

* change default pretender export

* fix bad import

* Use pretender() and original default export

* export new Pretender as default

* fix accidental change

* WIP testing

* add pretend handlers in correct location

* move more stuff into the correct pretender

* Consolidated more pretenders

* comment out another bad test

* fix user acceptance tests

* commented out bad test

* fixed another composer server stub

* fix more tests

* fixed tag test pretender

* Fix admin email test

* removed another draft handler

* add back test

* fix and uncomment another test

* remove test that is not useful

* remove commented out lines

* reapply handlers between every test

* no need to re-stub requests now :)

* cleanup from review

* more cleanup
2020-03-02 14:24:31 -05:00
..
assertions.js
component-test.js.es6 DEV: Remove some extra Discourse.Site uses 2019-11-13 16:00:58 -05:00
create-pretender.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
create-store.js.es6 DEV: Support custom server-side names in rest models (#8265) 2019-10-30 15:25:42 +00:00
d-editor-helper.js.es6 DEV: d-editor helper should be synchronous (#7706) 2019-06-05 14:52:38 +02:00
fixture-pretender.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
html-helper.js.es6 DEV: adds a stringToHTML helper to be used in tests (#8424) 2019-11-27 17:36:45 +01:00
init-ember-qunit.js
qunit-helpers.js.es6 FEATURE: adds a new plugin api to decorate plugin outlets (#8937) 2020-02-13 23:44:34 +01:00
review-pretender.js.es6 DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
select-kit-helper.js.es6 FIX: ensures select-kit can select a row with 0 as value (#8955) 2020-02-13 09:04:32 +01:00
site-settings.js DEV: Update the site title in qunit fixtures (#8959) 2020-02-14 11:30:04 +00:00
site.js.es6 DEV: Remove handling of category top menu items 2019-11-11 17:36:29 +00:00
store-pretender.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
textarea-selection-helper.js.es6 DEV: refactors textarea-selection helper to prevent leaking (#7709) 2019-06-05 19:20:46 +02:00
widget-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00