Update create-queue.js

This commit is contained in:
Aleksandr Statciuk committed 2022-01-31 02:26:56 +03:00
1 parent 1da2821900
commit 0c87e23011
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ beforeEach(() => {
fs.mkdirSync('tests/__data__/output')
const stdout = execSync(
'DB_DIR=tests/__data__/output/database node scripts/commands/create-queue.js --channels=tests/__data__/input/sites/*.channels.xml --max-clusters=1 --days=2',
'DB_DIR=tests/__data__/output/database CHANNELS_PATH=tests/__data__/input/sites/*.channels.xml node scripts/commands/create-queue.js --max-clusters=1 --days=2',
{ encoding: 'utf8' }
)
})