Update update.test.js

This commit is contained in:
Aleksandr Statciuk 2022-10-26 04:41:28 +03:00
parent e885fdc4f2
commit dc36f53a75

View file

@ -6,7 +6,7 @@ beforeEach(() => {
fs.emptyDirSync('tests/__data__/output') fs.emptyDirSync('tests/__data__/output')
const stdout = execSync( const stdout = execSync(
'CHANNELS_PATH=tests/__data__/input/sites/example.com_ca-*.channels.xml OUTPUT_DIR=tests/__data__/output/api npm run api:update', 'LOGS_DIR=tests/__data__/input/logs OUTPUT_DIR=tests/__data__/output/api npm run api:update',
{ encoding: 'utf8' } { encoding: 'utf8' }
) )
}) })