Skip to content

refactor:fixed naming convention and combine useeffects

Codecov / codecov/patch failed Dec 27, 2023 in 1s

35.58% of diff hit (target 87.98%)

View this Pull Request on Codecov

35.58% of diff hit (target 87.98%)

Annotations

Check warning on line 12 in src/courseware/course/new-sidebar/Sidebar.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/Sidebar.jsx#L12

Added line #L12 was not covered by tests

Check warning on line 18 in src/courseware/course/new-sidebar/Sidebar.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/Sidebar.jsx#L18

Added line #L18 was not covered by tests

Check warning on line 22 in src/courseware/course/new-sidebar/Sidebar.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/Sidebar.jsx#L22

Added line #L22 was not covered by tests

Check warning on line 26 in src/courseware/course/new-sidebar/Sidebar.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/Sidebar.jsx#L26

Added line #L26 was not covered by tests

Check warning on line 29 in src/courseware/course/new-sidebar/Sidebar.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/Sidebar.jsx#L28-L29

Added lines #L28 - L29 were not covered by tests

Check warning on line 19 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L16-L19

Added lines #L16 - L19 were not covered by tests

Check warning on line 25 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L21-L25

Added lines #L21 - L25 were not covered by tests

Check warning on line 30 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L27-L30

Added lines #L27 - L30 were not covered by tests

Check warning on line 32 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L32

Added line #L32 was not covered by tests

Check warning on line 38 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L34-L38

Added lines #L34 - L38 were not covered by tests

Check warning on line 46 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L42-L46

Added lines #L42 - L46 were not covered by tests

Check warning on line 49 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L49

Added line #L49 was not covered by tests

Check warning on line 56 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L54-L56

Added lines #L54 - L56 were not covered by tests

Check warning on line 59 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L59

Added line #L59 was not covered by tests

Check warning on line 61 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L61

Added line #L61 was not covered by tests

Check warning on line 65 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L65

Added line #L65 was not covered by tests

Check warning on line 67 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L67

Added line #L67 was not covered by tests

Check warning on line 70 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L69-L70

Added lines #L69 - L70 were not covered by tests

Check warning on line 77 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L77

Added line #L77 was not covered by tests

Check warning on line 97 in src/courseware/course/new-sidebar/SidebarContextProvider.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarContextProvider.jsx#L97

Added line #L97 was not covered by tests

Check warning on line 10 in src/courseware/course/new-sidebar/SidebarIcon.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarIcon.jsx#L9-L10

Added lines #L9 - L10 were not covered by tests

Check warning on line 12 in src/courseware/course/new-sidebar/SidebarIcon.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarIcon.jsx#L12

Added line #L12 was not covered by tests

Check warning on line 23 in src/courseware/course/new-sidebar/SidebarTrigger.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarTrigger.jsx#L23

Added line #L23 was not covered by tests

Check warning on line 30 in src/courseware/course/new-sidebar/SidebarTrigger.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarTrigger.jsx#L25-L30

Added lines #L25 - L30 were not covered by tests

Check warning on line 34 in src/courseware/course/new-sidebar/SidebarTrigger.jsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/courseware/course/new-sidebar/SidebarTrigger.jsx#L34

Added line #L34 was not covered by tests