mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-13 02:20:03 -04:00
Update database/create.js
This commit is contained in:
parent
b39dc83f8b
commit
e2e7c8b81c
3 changed files with 17 additions and 17 deletions
|
@ -13,7 +13,7 @@ beforeEach(() => {
|
|||
|
||||
it('can create database', () => {
|
||||
let output = content('tests/__data__/output/database/streams.db')
|
||||
let expected = content('tests/__data__/expected/database/streams.db')
|
||||
let expected = content('tests/__data__/expected/database/db_create.streams.db')
|
||||
|
||||
output = output.map(i => {
|
||||
i._id = null
|
||||
|
@ -28,7 +28,8 @@ it('can create database', () => {
|
|||
expect.arrayContaining([
|
||||
expect.objectContaining(expected[0]),
|
||||
expect.objectContaining(expected[1]),
|
||||
expect.objectContaining(expected[2])
|
||||
expect.objectContaining(expected[2]),
|
||||
expect.objectContaining(expected[3])
|
||||
])
|
||||
)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue