discourse/test/javascripts/controllers
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
..
avatar-selector-test.js.es6
bookmark-test.js.es6 Use sandbox.restore() to try improve bookmark-test 2019-12-11 19:00:37 +10:00
create-account-test.js.es6
group-test.js.es6
history-test.js.es6 FEATURE: Show edit indicator on review queue 2019-05-03 11:21:33 -04:00
preferences-account-test.js.es6 DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
preferences-second-factor-test.js.es6
reorder-categories-test.js.es6 FEATURE: Make 'Reorder Categories' work with nested categories (#8578) 2019-12-19 12:27:01 +02:00
topic-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00