Skip to content

chore: simplify selected departments comparison logic

Codecov / codecov/patch succeeded May 23, 2024 in 1s

68.75% of diff hit (target 4.47%)

View this Pull Request on Codecov

68.75% of diff hit (target 4.47%)

Annotations

Check warning on line 66 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L66

Added line #L66 was not covered by tests

Check warning on line 234 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L233-L234

Added lines #L233 - L234 were not covered by tests

Check warning on line 237 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L236-L237

Added lines #L236 - L237 were not covered by tests

Check warning on line 241 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L241

Added line #L241 was not covered by tests

Check warning on line 244 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L243-L244

Added lines #L243 - L244 were not covered by tests

Check warning on line 249 in src/App.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/App.jsx#L248-L249

Added lines #L248 - L249 were not covered by tests

Check warning on line 26 in src/components/sections/account/AcademicInfoSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/AcademicInfoSubSection.tsx#L26

Added line #L26 was not covered by tests

Check warning on line 22 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L22

Added line #L22 was not covered by tests

Check warning on line 28 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 31 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 42 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L42

Added line #L42 was not covered by tests

Check warning on line 44 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L44

Added line #L44 was not covered by tests

Check warning on line 48 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L48

Added line #L48 was not covered by tests

Check warning on line 51 in src/components/sections/account/FavoriteDepartmentsSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/FavoriteDepartmentsSubSection.tsx#L51

Added line #L51 was not covered by tests

Check warning on line 16 in src/components/sections/account/MyInfoSubSection.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/components/sections/account/MyInfoSubSection.tsx#L16

Added line #L16 was not covered by tests

Check warning on line 32 in src/queries/account.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/queries/account.ts#L32

Added line #L32 was not covered by tests

Check warning on line 42 in src/queries/account.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/queries/account.ts#L40-L42

Added lines #L40 - L42 were not covered by tests

Check warning on line 47 in src/queries/account.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/queries/account.ts#L45-L47

Added lines #L45 - L47 were not covered by tests