diff --git a/workspaces/puppetdb/bcp.json b/workspaces/puppetdb/bcp.json index 9d2158e4fb..e1b8e25f0c 100644 --- a/workspaces/puppetdb/bcp.json +++ b/workspaces/puppetdb/bcp.json @@ -1,4 +1,5 @@ { "autoVersionBump": true, - "knipReports": false + "knipReports": false, + "listDeprecations": true } diff --git a/workspaces/puppetdb/plugins/puppetdb/src/api/PupeptDbClient.test.ts b/workspaces/puppetdb/plugins/puppetdb/src/api/PupeptDbClient.test.ts index 8b858e21ca..cacfe7ddaf 100644 --- a/workspaces/puppetdb/plugins/puppetdb/src/api/PupeptDbClient.test.ts +++ b/workspaces/puppetdb/plugins/puppetdb/src/api/PupeptDbClient.test.ts @@ -14,7 +14,7 @@ * limitations under the License. */ import { UrlPatternDiscovery } from '@backstage/core-app-api'; -import { MockFetchApi, setupRequestMockHandlers } from '@backstage/test-utils'; +import { MockFetchApi, registerMswTestHooks } from '@backstage/test-utils'; import { rest } from 'msw'; import { setupServer } from 'msw/node'; import { PuppetDbClient } from './PuppetDbClient'; @@ -142,7 +142,7 @@ const logs: PuppetDbReportLog[] = [ ]; describe('PuppetDbClient', () => { - setupRequestMockHandlers(server); + registerMswTestHooks(server); const puppetDbCertName = 'node1'; const mockBaseUrl = 'http://backstage:9191/api/proxy';