mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update update.test.ts
This commit is contained in:
@@ -16,9 +16,12 @@ beforeEach(() => {
|
||||
})
|
||||
|
||||
it('can update SITES.md', () => {
|
||||
const stdout = execSync('DOT_SITES_DIR=tests/__data__/output/.sites npm run sites:update', {
|
||||
execSync(
|
||||
'DOT_SITES_DIR=tests/__data__/output/.sites SITES_DIR=tests/__data__/input/sites-update/sites npm run sites:update',
|
||||
{
|
||||
encoding: 'utf8'
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
expect(content('tests/__data__/output/sites.md')).toEqual(
|
||||
content('tests/__data__/expected/_sites.md')
|
||||
|
||||
Reference in New Issue
Block a user