Skip to content

feat: redirect to unit page if the hit or its parent is a unit

Codecov / codecov/patch failed Apr 24, 2024 in 1s

71.42% of diff hit (target 92.04%)

View this Pull Request on Codecov

71.42% of diff hit (target 92.04%)

Annotations

Check warning on line 83 in src/course-unit/hooks.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/course-unit/hooks.jsx#L83

Added line #L83 was not covered by tests

Check warning on line 44 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L42-L44

Added lines #L42 - L44 were not covered by tests

Check warning on line 54 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 72 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L72

Added line #L72 was not covered by tests

Check warning on line 82 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L80-L82

Added lines #L80 - L82 were not covered by tests

Check warning on line 95 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L95

Added line #L95 was not covered by tests

Check warning on line 107 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L107

Added line #L107 was not covered by tests

Check warning on line 141 in src/search-modal/SearchResult.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/search-modal/SearchResult.jsx#L141

Added line #L141 was not covered by tests