Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-08-19 11:38:33 +02:00
parent 5d852c1151
commit b264938afe
@@ -16,6 +16,7 @@
import { getVoidLogger } from '@backstage/backend-common';
import { Hash } from 'crypto';
import { DateTime } from 'luxon';
import waitForExpect from 'wait-for-expect';
import { DefaultProcessingDatabase } from './database/DefaultProcessingDatabase';
import { DefaultCatalogProcessingEngine } from './DefaultCatalogProcessingEngine';
@@ -84,7 +85,7 @@ describe('DefaultCatalogProcessingEngine', () => {
},
resultHash: '',
state: new Map(),
nextUpdateAt: '',
nextUpdateAt: DateTime.now().toSQL(),
lastDiscoveryAt: '',
},
],
@@ -147,7 +148,7 @@ describe('DefaultCatalogProcessingEngine', () => {
},
resultHash: '',
state: new Map(),
nextUpdateAt: '',
nextUpdateAt: DateTime.now().toSQL(),
lastDiscoveryAt: '',
},
],
@@ -181,7 +182,7 @@ describe('DefaultCatalogProcessingEngine', () => {
unprocessedEntity: entity,
resultHash: 'the matching hash',
state: new Map(),
nextUpdateAt: '',
nextUpdateAt: DateTime.now().toSQL(),
lastDiscoveryAt: '',
};