Skip to content

Commit 8995f09

Browse files
committed
enable list deprecations for workspace
Signed-off-by: Kurt King <[email protected]>
1 parent b9c2943 commit 8995f09

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

workspaces/puppetdb/bcp.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"autoVersionBump": true,
3-
"knipReports": false
3+
"knipReports": false,
4+
"listDeprecations": true
45
}

workspaces/puppetdb/plugins/puppetdb/src/api/PupeptDbClient.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
import { UrlPatternDiscovery } from '@backstage/core-app-api';
17-
import { MockFetchApi, setupRequestMockHandlers } from '@backstage/test-utils';
17+
import { MockFetchApi, registerMswTestHooks } from '@backstage/test-utils';
1818
import { rest } from 'msw';
1919
import { setupServer } from 'msw/node';
2020
import { PuppetDbClient } from './PuppetDbClient';
@@ -142,7 +142,7 @@ const logs: PuppetDbReportLog[] = [
142142
];
143143

144144
describe('PuppetDbClient', () => {
145-
setupRequestMockHandlers(server);
145+
registerMswTestHooks(server);
146146

147147
const puppetDbCertName = 'node1';
148148
const mockBaseUrl = 'http://backstage:9191/api/proxy';

0 commit comments

Comments
 (0)