frontend-test-utils: review fixes

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-10 10:29:28 +01:00
parent 67959bf42a
commit 8fa6ef3452
6 changed files with 10 additions and 23 deletions
@@ -139,7 +139,7 @@ import {
import { myApiRef, type MyApi } from '@internal/plugin-example-react';
// Fake instance with real behavior
export function myApiMock(options?: { greeting?: string }): MyApi {
export function myApiMock(options?: { greeting?: string }) {
return attachMockApiFactory(myApiRef, {
greet: async () => options?.greeting ?? 'Hello!',
});