Remove internal mockWithApiFactory in favor of attachMockApiFactory

Rather than having the public attachMockApiFactory delegate to an internal
mockWithApiFactory helper, move the implementation directly into
attachMockApiFactory and use it everywhere.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-04-17 10:23:14 +02:00
parent 4db1b03cb9
commit 0c298f7cf1
3 changed files with 20 additions and 33 deletions
@@ -0,0 +1,5 @@
---
'@backstage/frontend-test-utils': patch
---
Removed internal `mockWithApiFactory` helper in favor of using `attachMockApiFactory` directly.