mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 10:32:27 +08:00
chore(format): fix auto-fixable format issues in *.spec.ts
This commit is contained in:
parent
2112bbee0a
commit
df5ac3e77d
@ -7,7 +7,7 @@ describe("In-app help", () => {
|
||||
const meta: NoteMeta = {
|
||||
isClone: false,
|
||||
noteId: "yoAe4jV2yzbd",
|
||||
notePath: ["OkOZllzB3fqN", "yoAe4jV2yzbd"],
|
||||
notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],
|
||||
title: "Features",
|
||||
notePosition: 40,
|
||||
prefix: null,
|
||||
@ -38,7 +38,7 @@ describe("In-app help", () => {
|
||||
const meta: NoteMeta = {
|
||||
isClone: false,
|
||||
noteId: "yoAe4jV2yzbd",
|
||||
notePath: ["OkOZllzB3fqN", "yoAe4jV2yzbd"],
|
||||
notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],
|
||||
title: "Features",
|
||||
notePosition: 40,
|
||||
prefix: null,
|
||||
|
@ -13,7 +13,7 @@ describe("Share API test", () => {
|
||||
initializeTranslations();
|
||||
app = (await import("../app.js")).default;
|
||||
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")) {
|
||||
cannotSetHeadersCount++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user