discourse/test/javascripts
Martin Brennan befaf39aca
DEV: Refactor and test plugin addKeyboardShortcut (#9381)
Refactor plugin-api `addKeyboardShortcut` to point to `KeyboardShortcuts`.
* Do not add shortcuts to the default object directly.
* Create an addShortcut function in keyboard-shortcuts to add shortcuts safely and call to bindKey to be able to use opts.
* Refactor controllers/bookmark.js to use new addShortcut func and emove unnecessary addBindings.
* No longer export keyboard shortcut bindings, rename to DEFAULT_BINDINGS and remove export, these do not need to be accessed by anything else.
2020-04-09 10:30:26 +10:00
..
acceptance DEV: Refactor and test plugin addKeyboardShortcut (#9381) 2020-04-09 10:30:26 +10:00
admin Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
components DEV: Refactor and test plugin addKeyboardShortcut (#9381) 2020-04-09 10:30:26 +10:00
controllers DEV: Fix some more flaky tests (#9384) 2020-04-08 12:46:43 +02:00
ember Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
fixtures FEATURE: Support for publishing topics as pages (#9364) 2020-04-08 12:52:36 -04:00
helpers DEV: Allows moduleForWidget to use before/afterEach options (#9296) 2020-03-30 18:12:32 +02:00
initializers Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
lib FIX: Quoting posts (#9378) 2020-04-08 16:28:23 +02:00
mixins Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
models FIX: allows adapters to define a custom primaryKey (#9254) 2020-03-30 15:23:59 +02:00
utils Retry: Rename all test files from JS -> ES6 2020-03-26 12:25:46 -04:00
widgets fix translations impacting other tests (#9321) 2020-03-31 09:26:35 +02:00
plugin_tests.js.erb Support for Acceptance tests in plugins 2015-08-27 17:07:11 -04:00
test_helper.js DEV: use REPORT_REQUESTS=1 to find all requests 2020-04-02 16:01:49 +11:00