fix: typos in apps/web (#19194)
Found via `codespell -q 3 -S "*.svg,./apps/web/public/static/locales,./packages/app-store/stripepayment/lib/currencyOptions.ts,./packages/lib/freeEmailDomainCheck/freeEmailDomains.ts" -L afterall,atleast,datea,fo,incase,ist,nam,notin,optionel,perview,reccuring` Closes #19193
This commit is contained in:
1 parent
76c09ca7bf
commit
15334ff20b
17 files changed
+27
-27
No files matched your search
@@ -62,7 +62,7 @@ describe("Check Booking Limits Tests", () => {
|
||||
)
|
||||
).resolves.toBeTruthy();
|
||||
});
|
||||
it("Should handle mutiple limits correctly", async () => {
|
||||
it("Should handle multiple limits correctly", async () => {
|
||||
prismaMock.booking.count.mockResolvedValue(1);
|
||||
expect(
|
||||
checkBookingLimit({
|
||||
|
||||
@@ -1737,7 +1737,7 @@ describe("getSchedule", () => {
|
||||
[
|
||||
// `04:00:00.000Z`, // <- This slot should be occupied by the Pending Requires Confirmation booking blocking this slot
|
||||
`04:15:00.000Z`,
|
||||
`05:00:00.000Z`, // <- This slot should be availble to book as this event type (id: 3) has requires confirmation without blocking the slo
|
||||
`05:00:00.000Z`, // <- This slot should be available to book as this event type (id: 3) has requires confirmation without blocking the slot
|
||||
`05:45:00.000Z`,
|
||||
`06:30:00.000Z`,
|
||||
`07:15:00.000Z`,
|
||||
@@ -2157,13 +2157,13 @@ describe("getSchedule", () => {
|
||||
});
|
||||
|
||||
describe("Round robin event", async () => {
|
||||
test("correctly get slots for event with round robin hosts choosen schedule (non-default)", async () => {
|
||||
test("correctly get slots for event with round robin hosts chosen schedule (non-default)", async () => {
|
||||
vi.setSystemTime("2024-05-21T00:00:13Z");
|
||||
|
||||
const plus1DateString = "2024-05-22";
|
||||
const plus2DateString = "2024-05-23";
|
||||
|
||||
// An event with no common schedule and hosts choosen schedule (non-default schedule)
|
||||
// An event with no common schedule and hosts chosen schedule (non-default schedule)
|
||||
await createBookingScenario({
|
||||
eventTypes: [
|
||||
{
|
||||
@@ -2217,7 +2217,7 @@ describe("getSchedule", () => {
|
||||
},
|
||||
});
|
||||
|
||||
// expect only slots of IstEveningShift , as this is the choosen schedule for hosts
|
||||
// expect only slots of IstEveningShift , as this is the chosen schedule for hosts
|
||||
expect(scheduleWithHostChoosenSch).toHaveTimeSlots(
|
||||
[`11:30:00.000Z`, `12:30:00.000Z`, `13:30:00.000Z`, `14:30:00.000Z`, `15:30:00.000Z`],
|
||||
{
|
||||
@@ -2225,7 +2225,7 @@ describe("getSchedule", () => {
|
||||
}
|
||||
);
|
||||
});
|
||||
test("correctly get slots for event with commom schedule", async () => {
|
||||
test("correctly get slots for event with common schedule", async () => {
|
||||
vi.setSystemTime("2024-05-21T00:00:13Z");
|
||||
|
||||
const plus1DateString = "2024-05-22";
|
||||
|
||||
@@ -698,7 +698,7 @@ export function expectSuccessfulRoundRobinReschedulingEmails({
|
||||
}) {
|
||||
if (newOrganizer !== prevOrganizer) {
|
||||
vi.waitFor(() => {
|
||||
// new organizer should recieve scheduling emails
|
||||
// new organizer should receive scheduling emails
|
||||
expect(emails).toHaveEmail(
|
||||
{
|
||||
heading: "new_event_scheduled",
|
||||
@@ -709,7 +709,7 @@ export function expectSuccessfulRoundRobinReschedulingEmails({
|
||||
});
|
||||
|
||||
vi.waitFor(() => {
|
||||
// old organizer should recieve cancelled emails
|
||||
// old organizer should receive cancelled emails
|
||||
expect(emails).toHaveEmail(
|
||||
{
|
||||
heading: "event_request_cancelled",
|
||||
@@ -720,7 +720,7 @@ export function expectSuccessfulRoundRobinReschedulingEmails({
|
||||
});
|
||||
} else {
|
||||
vi.waitFor(() => {
|
||||
// organizer should recieve rescheduled emails
|
||||
// organizer should receive rescheduled emails
|
||||
expect(emails).toHaveEmail(
|
||||
{
|
||||
heading: "event_has_been_rescheduled",
|
||||
|
||||
Reference in new issue
Block a user