mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
tests: Pretty-print frontendTestSpecs.js
to make troubleshooting easier
This commit is contained in:
parent
4fa9f9e9d8
commit
ed44449639
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
|||
|
||||
console.debug('Sent browser the following test specs:', files);
|
||||
res.setHeader('content-type', 'application/javascript');
|
||||
res.end(`window.frontendTestSpecs = ${JSON.stringify(files)};\n`);
|
||||
res.end(`window.frontendTestSpecs = ${JSON.stringify(files, null, 2)};\n`);
|
||||
});
|
||||
|
||||
const rootTestFolder = path.join(settings.root, 'src/tests/frontend/');
|
||||
|
|
Loading…
Reference in a new issue