Update tests

This commit is contained in:
freearhey committed 2023-09-17 04:07:27 +03:00
1 parent fa210a15d2
commit d169fbca8b
7 files changed
+49 -71

No files matched your search

+6 -3
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(`