mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
tests: remove loadSettings.js for backend tests.
The old loadSettings.js was a way of customizing settings upon load, because the Settings module did not offer this functionality. But it did not work well, since all the default settings were not loaded. Let's get rid of loadSettings.js for the bulk of the tests (the "backend" specs). For the "container" specs, we'll keep it in place until/if we rewrite Settings.js making it less brittle.
This commit is contained in:
parent
419f17371c
commit
44186edbc5
8 changed files with 23 additions and 35 deletions
|
@ -1,6 +1,13 @@
|
|||
/**
|
||||
* The Settings Modul reads the settings out of settings.json and provides
|
||||
* The Settings module reads the settings out of settings.json and provides
|
||||
* this information to the other modules
|
||||
*
|
||||
* TODO muxator 2020-04-14:
|
||||
*
|
||||
* 1) get rid of the reloadSettings() call at module loading;
|
||||
* 2) provide a factory method that configures the settings module at runtime,
|
||||
* reading the file name either from command line parameters, from a function
|
||||
* argument, or falling back to a default.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue