diff --git a/__tests__/search-filters.test.ts b/__tests__/search-filters.test.ts index d771b3b..106d779 100644 --- a/__tests__/search-filters.test.ts +++ b/__tests__/search-filters.test.ts @@ -132,15 +132,6 @@ describe("Search Filters", () => { expect(result.every((course) => !course.async)).toBe(true); }); - test("only instant enrollment filters correctly", async () => { - const result = filterData(data.data, { - ...defaultFilterValues, - enrollment: [true], - }); - - expect(result.every((course) => course.instantEnrollment)).toBe(true); - }); - test("only available seats filters correctly", async () => { const result = filterData(data.data, { ...defaultFilterValues, @@ -166,22 +157,6 @@ describe("Search Filters", () => { "placeholder sending institution 1", ); }); - - test("min units filters correctly", async () => { - const result = filterData(data.data, { - ...defaultFilterValues, - min: 5, - }); - expect(result.every((course) => course.units >= 5)).toBe(true); - }); - - test("max units filters correctly", async () => { - const result = filterData(data.data, { - ...defaultFilterValues, - max: 5, - }); - expect(result.every((course) => course.units <= 5)).toBe(true); - }); }); describe("Filter Utils' Time Utilities", () => {