refactor: hide browser test and error internals

This commit is contained in:
Peter Steinberger
2026-05-02 09:02:40 +01:00
parent 68c99879e2
commit 3c8381c183
2 changed files with 1 additions and 7 deletions

View File

@@ -29,12 +29,6 @@ export class BrowserValidationError extends BrowserError {
}
}
export class BrowserConfigurationError extends BrowserError {
constructor(message: string, options?: ErrorOptions) {
super(message, 400, options);
}
}
export class BrowserTargetAmbiguousError extends BrowserError {
constructor(message = "ambiguous target id prefix", options?: ErrorOptions) {
super(message, 409, options);

View File

@@ -55,7 +55,7 @@ export function makeState(
};
}
export function makeUnexpectedFetchMock() {
function makeUnexpectedFetchMock() {
return vi.fn(async () => {
throw new Error("unexpected fetch");
});