mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
wip
This commit is contained in:
parent
0a33284308
commit
af41021b99
2 changed files with 2 additions and 2 deletions
|
@ -7,12 +7,12 @@ beforeEach(() => {
|
||||||
fs.mkdirSync('tests/__data__/output')
|
fs.mkdirSync('tests/__data__/output')
|
||||||
|
|
||||||
execSync(
|
execSync(
|
||||||
'DB_DIR=tests/__data__/output/database LOGS_DIR=tests/__data__/input/logs node scripts/commands/save-results.js',
|
'DB_DIR=tests/__data__/output/database LOGS_DIR=tests/__data__/input/logs node scripts/commands/update-database.js',
|
||||||
{ encoding: 'utf8' }
|
{ encoding: 'utf8' }
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('can save results', () => {
|
it('can update database', () => {
|
||||||
const output = fs.readFileSync(path.resolve('tests/__data__/output/database/programs.db'), {
|
const output = fs.readFileSync(path.resolve('tests/__data__/output/database/programs.db'), {
|
||||||
encoding: 'utf8'
|
encoding: 'utf8'
|
||||||
})
|
})
|
Loading…
Add table
Add a link
Reference in a new issue