Merge pull request #28578 from backstage/fix-openapi-utils-tests-exports

openapi exports test utils under a different subpath
This commit is contained in:
Fredrik Adelöw
2025-01-28 11:33:04 +01:00
committed by GitHub
8 changed files with 54 additions and 18 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ For more information, see [the docs](./generate-client.md).
Add the following lines to your `createRouter.test.ts` or `router.test.ts` file,
```diff
+ import { wrapInOpenApiTestServer } from '@backstage/backend-openapi-utils';
+ import { wrapInOpenApiTestServer } from '@backstage/backend-openapi-utils/testUtils';
+ import { Server } from 'http';
...