mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Fixing saved search saving test #587
This commit is contained in:
parent
4aa734096a
commit
a58d61f958
@ -711,7 +711,8 @@ describe('IndexingManager', (sqlHelper: DBTestHelper) => {
|
|||||||
const albums = await am.getAlbums();
|
const albums = await am.getAlbums();
|
||||||
expect(albums[0].preview).to.be.an('object');
|
expect(albums[0].preview).to.be.an('object');
|
||||||
delete albums[0].preview;
|
delete albums[0].preview;
|
||||||
expect(albums).to.be.equalInAnyOrder([
|
console.log(albums);
|
||||||
|
expect(albums).to.be.deep.equal([
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
name: 'Alvin',
|
name: 'Alvin',
|
||||||
|
Loading…
Reference in New Issue
Block a user