Update create.test.js

This commit is contained in:
Aleksandr Statciuk 2022-02-27 18:04:30 +03:00
parent d867a31304
commit 8644c188fb

View file

@ -6,7 +6,7 @@ beforeEach(() => {
fs.emptyDirSync('tests/__data__/output') fs.emptyDirSync('tests/__data__/output')
const stdout = execSync( const stdout = execSync(
'DB_DIR=tests/__data__/output/database LOGS_DIR=tests/__data__/output/logs CHANNELS_PATH=tests/__data__/input/sites/*.channels.xml npm run queue:create -- --max-clusters=1 --days=2', 'DB_DIR=tests/__data__/output/database LOGS_DIR=tests/__data__/output/logs CHANNELS_PATH=tests/__data__/input/sites/example.com_ca.channels.xml npm run queue:create -- --max-clusters=1 --days=2',
{ encoding: 'utf8' } { encoding: 'utf8' }
) )
}) })