discourse/test/javascripts
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
..
acceptance DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
admin DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
components DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
controllers DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
ember DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
fixtures DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
helpers DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
initializers FEATURE: Load translation overrides without JS eval 2019-11-05 19:16:38 +01:00
lib DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
mixins FIX: makes setting-object capable of defining value/name properties itself (#9003) 2020-02-19 10:01:21 +01:00
models DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
utils DEV: adds afterRender decorator (#8864) 2020-02-10 08:13:13 +01:00
widgets DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00