chore(format): fix auto-fixable format issues in *.spec.ts

This commit is contained in:
Panagiotis Papadopoulos 2025-04-02 23:00:22 +02:00
parent 2112bbee0a
commit df5ac3e77d
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ describe("In-app help", () => {
const meta: NoteMeta = { const meta: NoteMeta = {
isClone: false, isClone: false,
noteId: "yoAe4jV2yzbd", noteId: "yoAe4jV2yzbd",
notePath: ["OkOZllzB3fqN", "yoAe4jV2yzbd"], notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],
title: "Features", title: "Features",
notePosition: 40, notePosition: 40,
prefix: null, prefix: null,
@ -38,7 +38,7 @@ describe("In-app help", () => {
const meta: NoteMeta = { const meta: NoteMeta = {
isClone: false, isClone: false,
noteId: "yoAe4jV2yzbd", noteId: "yoAe4jV2yzbd",
notePath: ["OkOZllzB3fqN", "yoAe4jV2yzbd"], notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],
title: "Features", title: "Features",
notePosition: 40, notePosition: 40,
prefix: null, prefix: null,

View File

@ -13,7 +13,7 @@ describe("Share API test", () => {
initializeTranslations(); initializeTranslations();
app = (await import("../app.js")).default; app = (await import("../app.js")).default;
app.use((err: unknown, req: Request, res: Response, next: NextFunction) => { app.use((err: unknown, req: Request, res: Response, next: NextFunction) => {
const [errMessage] = safeExtractMessageAndStackFromError(err) const [ errMessage ] = safeExtractMessageAndStackFromError(err);
if (errMessage.includes("Cannot set headers after they are sent to the client")) { if (errMessage.includes("Cannot set headers after they are sent to the client")) {
cannotSetHeadersCount++; cannotSetHeadersCount++;
} }