Fix mocked item in test.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
This commit is contained in:
Jussi Hallila
2022-08-23 08:24:18 +02:00
parent 1bcb4a5d6d
commit afbefb1ad7
2 changed files with 1 additions and 2 deletions
@@ -56,7 +56,6 @@
"devDependencies": {
"@backstage/backend-test-utils": "^0.1.27",
"@backstage/cli": "^0.18.1",
"@types/luxon": "^2.0.5",
"@types/supertest": "^2.0.8",
"@types/semver": "^7.3.8",
"supertest": "^6.1.3",
@@ -27,7 +27,7 @@ import { Knex } from 'knex';
jest.mock('./fact/FactRetrieverRegistry');
jest.mock('./fact/FactRetrieverEngine', () => ({
FactRetrieverEngine: {
DefaultFactRetrieverEngine: {
create: jest.fn().mockResolvedValue({
schedule: jest.fn(),
}),