feat: automated changelogs and releases by changesets (#21299)

* feat: automated changesets

* chore: update changesets to latest

* readme
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2025-05-16 12:52:45 -04:00
1 parent 6cd51e0a8d
commit f5ffee0a20
10 files changed
+316 -417

No files matched your search

-1
View File
@@ -3,7 +3,6 @@
"version": "0.0.1",
"description": "Platform API for Cal.com",
"author": "Cal.com Inc.",
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "yarn dev:build && nest build",
@@ -691,7 +691,7 @@ describe("Slots 2024-04-15 Endpoints", () => {
startTime: "2050-09-05",
endTime: "2050-09-10",
};
it("should allow routingFormResponseId=0 in dry-run mode", async () => {
return request(app.getHttpServer())
.get(baseUrl)
@@ -706,7 +706,7 @@ describe("Slots 2024-04-15 Endpoints", () => {
expect(res.body.status).toEqual(SUCCESS_STATUS);
});
});
it("should reject routingFormResponseId=1 in dry-run mode", async () => {
return request(app.getHttpServer())
.get(baseUrl)
@@ -718,10 +718,12 @@ describe("Slots 2024-04-15 Endpoints", () => {
})
.expect(400)
.expect((res) => {
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain("routingFormResponseId must be 0 for dry run");
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain(
"routingFormResponseId must be 0 for dry run"
);
});
});
it("should allow routingFormResponseId=1 in non-dry-run mode", async () => {
return request(app.getHttpServer())
.get(baseUrl)
@@ -735,7 +737,7 @@ describe("Slots 2024-04-15 Endpoints", () => {
expect(res.body.status).toEqual(SUCCESS_STATUS);
});
});
it("should reject routingFormResponseId=0 in non-dry-run mode", async () => {
return request(app.getHttpServer())
.get(baseUrl)
@@ -746,7 +748,9 @@ describe("Slots 2024-04-15 Endpoints", () => {
})
.expect(400)
.expect((res) => {
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain("routingFormResponseId must be a positive number");
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain(
"routingFormResponseId must be a positive number"
);
});
});
@@ -760,7 +764,9 @@ describe("Slots 2024-04-15 Endpoints", () => {
})
.expect(400)
.expect((res) => {
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain("routingFormResponseId must be a positive number");
expect(res.body.error.details.errors[0].constraints.routingFormResponseIdValidator).toContain(
"routingFormResponseId must be a positive number"
);
});
});
});