Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

no need to double check string

Andras Bacsai91239ef9d0dc
diff --git a/packages/http-client/src/index.test.ts b/packages/http-client/src/index.test.ts
index d4c7100c53..22c0db4c24 100644
--- a/packages/http-client/src/index.test.ts
+++ b/packages/http-client/src/index.test.ts
@@ -49,7 +49,7 @@ describe("getProjectDetails", () => {
throw response;
}
if (typeof response === "string") {
- return expect(response.toString()).toBe(
+ return expect(response).toBe(
`Project ${notPublishedProjectId} not found or not published yet. Please contact us to get help.`
);
}