mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-17 12:30:03 -04:00
Update tests
This commit is contained in:
parent
98645d4166
commit
c1a815754e
7 changed files with 49 additions and 71 deletions
|
@ -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(`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue