mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-12 10:00:05 -04:00
Update update-database.test.js
This commit is contained in:
parent
6f6b1896d8
commit
e93d677927
1 changed files with 1 additions and 4 deletions
|
@ -3,12 +3,9 @@ const path = require('path')
|
|||
const { execSync } = require('child_process')
|
||||
|
||||
beforeEach(() => {
|
||||
fs.copyFileSync('tests/__data__/input/test.db', 'tests/__data__/temp/test.db')
|
||||
})
|
||||
|
||||
afterEach(() => {
|
||||
fs.rmdirSync('tests/__data__/temp', { recursive: true })
|
||||
fs.mkdirSync('tests/__data__/temp')
|
||||
fs.copyFileSync('tests/__data__/input/test.db', 'tests/__data__/temp/test.db')
|
||||
})
|
||||
|
||||
it('can update database', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue