Skip to content

Commit e1b27d1

Browse files
Ariel ShulmanAriel Shulman
authored andcommitted
fix: remove redundant tests
1 parent e393cec commit e1b27d1

File tree

2 files changed

+0
-55
lines changed

2 files changed

+0
-55
lines changed

analytics-project/analytics-service/schemas/page-views.test.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,6 @@ describe("pageViewsFiltersSchema", () => {
148148
}
149149
});
150150

151-
it("should reject non-number take value", () => {
152-
const input = { take: "10" };
153-
const result = pageViewsFiltersSchema.safeParse(input);
154-
expect(result.success).toBe(false);
155-
if (!result.success) {
156-
expect(result.error.issues).toHaveLength(1);
157-
expect(result.error.issues?.[0]?.path).toEqual(["take"]);
158-
expect(result.error.issues?.[0]?.code).toBe("invalid_type");
159-
}
160-
});
161-
162151
it("should reject non-string now value", () => {
163152
const input = { now: 123 };
164153
const result = pageViewsFiltersSchema.safeParse(input);

analytics-project/analytics-service/test-setup.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)