Update create.test.js

This commit is contained in:
Aleksandr Statciuk 2022-10-26 04:37:20 +03:00
parent 656e22f540
commit 412d5764b3

View file

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