discourse/test/javascripts/lib
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
..
bbcode-test.js.es6
break-string-test.js.es6 DEV: Remove unused BreakString class (#8942) 2020-02-14 15:32:59 -03:00
category-badge-test.js.es6 UX: Prevent category-drop topic count from wrapping to new line (#8943) 2020-02-12 14:34:16 -05:00
click-track-edit-history-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
click-track-profile-page-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
click-track-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
computed-test.js.es6 DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
discourse-test.js.es6 FIX: getURL on a subfolder site should ignore prefix in middle of URL (#8794) 2020-01-27 17:51:46 +00:00
emoji-store-test.js.es6 FEATURE: favorites emojis will also show in composer autocomplete (#8011) 2019-08-16 11:47:03 +02:00
emoji-test.js.es6 FIX: Respect enable_inline_emoji_translation setting in titles 2019-12-03 20:39:11 +01:00
formatter-test.js.es6 DEV: Remove unused BreakString class (#8942) 2020-02-14 15:32:59 -03:00
highlight-text-test.js.es6 DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
i18n-test.js.es6 FIX: Escape $ in translations before interpolating (#8100) 2019-09-16 13:52:49 -04:00
icon-library-test.js.es6
key-value-store-test.js.es6
link-mentions-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
load-script-test.js.es6 DEV: skip load-script to prevent timeouts (#7817) 2019-06-27 10:57:40 +02:00
oneboxer-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
preload-store-test.js.es6 DEV: Ember linting - disallow Ember.* variable usage (#8782) 2020-02-05 10:14:42 -06:00
pretty-text-test.js.es6 FIX: Disable preloading audio + video when secure media enabled (#8922) 2020-02-11 11:49:58 +10:00
sanitizer-test.js.es6 DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
screen-track-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
search-test.js.es6 FEATURE: Allow scoping search to tag (#8345) 2019-11-14 10:40:26 +10:00
sharing-test.js.es6
text-direction-test.js.es6
to-markdown-test.js.es6 FIX: Properly convert quotes to Markdown (#8808) 2020-02-07 16:25:23 +01:00
tooltip-test.js.es6 DEV: prevents asyncTestDiscourse/controllerFor/fixture to leak (#7717) 2019-06-06 13:10:41 +02:00
upload-short-url-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
uploads-test.js.es6 FIX: Consider webp a supported image format for upload (#9015) 2020-02-21 13:08:01 +10:00
url-test.js.es6 DEV: Fix function prototype deprecations (#8681) 2020-01-16 18:56:53 +01:00
user-search-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00
utilities-test.js.es6 FIX: Do not autocomplete categories or emojis in code blocks (#8459) 2019-12-09 15:07:15 +02:00
white-lister-test.js.es6