mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 19:18:28 -04:00
Update database/create.js
This commit is contained in:
1 parent
9adfe9a07d
commit
8f0e9f14ae
3 files changed
+17
-17
No files matched your search
@@ -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])
|
||||
])
|
||||
)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user