overleaf/services/web/test/acceptance/getModuleTargets.js

9 lines
290 B
JavaScript
Raw Normal View History

// silence settings module
console.log = function () {}
const Settings = require('@overleaf/settings')
const MODULES = Settings.moduleImportSequence
const TARGET = process.argv.slice(2).pop() || 'test_acceptance'
console.debug(MODULES.map(name => `modules/${name}/${TARGET}`).join('\n'))