mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
tests: Add tests for settings.json
parsing
This commit is contained in:
parent
de0a450aec
commit
6c2f31a5cb
3 changed files with 104 additions and 0 deletions
|
@ -825,5 +825,9 @@ exports.reloadSettings = () => {
|
|||
console.log(`Random string used for versioning assets: ${exports.randomVersionString}`);
|
||||
};
|
||||
|
||||
exports.exportedForTestingOnly = {
|
||||
parseSettings,
|
||||
};
|
||||
|
||||
// initially load settings
|
||||
exports.reloadSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue