mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
9953822175
Move acceptance test mocks to nonstandard ports and add options for running locally GitOrigin-RevId: bd8f70ac8d80599daccc51cfe7b90a2ad8d8c3d8
12 lines
371 B
JavaScript
12 lines
371 B
JavaScript
// silence settings module
|
|
console.log = function () {}
|
|
const Settings = require('@overleaf/settings')
|
|
|
|
const MODULES = Settings.moduleImportSequence
|
|
const TARGET = process.argv.slice(2).pop() || 'test_acceptance'
|
|
|
|
if (TARGET === '--name-only') {
|
|
console.debug(MODULES.join('\n'))
|
|
} else {
|
|
console.debug(MODULES.map(name => `modules/${name}/${TARGET}`).join('\n'))
|
|
}
|