You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-09-16 09:16:27 +02:00
Fixing saved search saving test #587
This commit is contained in:
@@ -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',
|
||||||
|
Reference in New Issue
Block a user