Check app-store types on CI (#7190)
* Check app-store types on CI * Fix ESLINt errorpull/7450/head^2
parent
841346c5f2
commit
e12b21a73c
|
@ -13,3 +13,5 @@ jest.mock("@calcom/lib/crypto", () => ({
|
|||
"userApiKey": "test"
|
||||
}`,
|
||||
}));
|
||||
|
||||
export {};
|
||||
|
|
|
@ -244,13 +244,13 @@ test.describe("Routing Forms", () => {
|
|||
const thirdResponseCells = csvRows[3].split(",");
|
||||
|
||||
expect(firstResponseCells.slice(0, -1).join(",")).toEqual("event-routing,");
|
||||
expect(new Date(firstResponseCells.at(-1)).getDay()).toEqual(new Date().getDay());
|
||||
expect(new Date(firstResponseCells.at(-1) as string).getDay()).toEqual(new Date().getDay());
|
||||
|
||||
expect(secondResponseCells.slice(0, -1).join(",")).toEqual("external-redirect,");
|
||||
expect(new Date(secondResponseCells.at(-1)).getDay()).toEqual(new Date().getDay());
|
||||
expect(new Date(secondResponseCells.at(-1) as string).getDay()).toEqual(new Date().getDay());
|
||||
|
||||
expect(thirdResponseCells.slice(0, -1).join(",")).toEqual("custom-page,");
|
||||
expect(new Date(thirdResponseCells.at(-1)).getDay()).toEqual(new Date().getDay());
|
||||
expect(new Date(thirdResponseCells.at(-1) as string).getDay()).toEqual(new Date().getDay());
|
||||
});
|
||||
|
||||
test("Router URL should work", async ({ page, users }) => {
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
"components.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"type-check": "tsc --pretty --noEmit",
|
||||
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
|
||||
"lint:fix": "eslint . --ext .ts,.js,.tsx,.jsx --fix",
|
||||
"lint:report": "eslint . --format json --output-file ../../lint-results/app-store.json"
|
||||
|
|
|
@ -2,3 +2,5 @@
|
|||
// Can't use this file right now as I am not able to figure out how to keep getting tRPC typesafety with merge calls done on already created router
|
||||
// Till that time import routers from each app directly to core.
|
||||
// import { Router } from "@trpc/server/dist/declarations/src/router";
|
||||
|
||||
export {};
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
"../types/*.d.ts",
|
||||
"../types/next-auth.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"../../apps/web/server/**/*.ts",
|
||||
"../../apps/web/server/**/*.tsx"
|
||||
"**/*.tsx"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue