Update tests

This commit is contained in:
freearhey 2023-09-17 04:07:27 +03:00
parent 98645d4166
commit c1a815754e
7 changed files with 49 additions and 71 deletions

View file

@ -1,9 +1,12 @@
import { execSync } from 'child_process'
it('can create report', () => {
const stdout = execSync('DATA_DIR=tests/__data__/input/data npm run report:create', {
encoding: 'utf8'
})
const stdout = execSync(
'DATA_DIR=tests/__data__/input/data STREAMS_DIR=tests/__data__/input/streams_report npm run report:create',
{
encoding: 'utf8'
}
)
expect(
stdout.includes(`