mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 02:47:33 -05:00
Update tests
This commit is contained in:
@@ -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(`
|
||||
|
||||
Reference in New Issue
Block a user