diff --git a/src/app.ts b/src/app.ts index 299364a..09d8266 100644 --- a/src/app.ts +++ b/src/app.ts @@ -972,6 +972,8 @@ export async function buildApp(options: BuildAppOptions = {}): Promise { expect(providerError).toBe("e".repeat(64)); expect(providerErrorDescription).toHaveLength(256); expect(providerErrorDescription).toMatch(allowed); - expect(providerErrorDescription.startsWith("xxx")).toBe(true); + expect(String(providerErrorDescription).startsWith("xxx")).toBe(true); }); it("cannot inject markup into the browser page, and is bounded there", async () => {