Skip to content

refactor: simplify use-webchat-resizer

Codecov / codecov/patch failed Sep 19, 2024 in 1s

40.69% of diff hit (target 67.15%)

View this Pull Request on Codecov

40.69% of diff hit (target 67.15%)

Annotations

Check warning on line 33 in packages/botonic-react/src/webchat/hooks/use-device-adapter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-device-adapter.ts#L32-L33

Added lines #L32 - L33 were not covered by tests

Check warning on line 35 in packages/botonic-react/src/webchat/hooks/use-device-adapter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-device-adapter.ts#L35

Added line #L35 was not covered by tests

Check warning on line 38 in packages/botonic-react/src/webchat/hooks/use-device-adapter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-device-adapter.ts#L38

Added line #L38 was not covered by tests

Check warning on line 43 in packages/botonic-react/src/webchat/hooks/use-device-adapter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-device-adapter.ts#L43

Added line #L43 was not covered by tests

Check warning on line 10 in packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts#L10

Added line #L10 was not covered by tests

Check warning on line 12 in packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts#L12

Added line #L12 was not covered by tests

Check warning on line 17 in packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scroll-to-bottom.ts#L16-L17

Added lines #L16 - L17 were not covered by tests

Check warning on line 8 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L8

Added line #L8 was not covered by tests

Check warning on line 10 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L10

Added line #L10 was not covered by tests

Check warning on line 14 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L12-L14

Added lines #L12 - L14 were not covered by tests

Check warning on line 22 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L22

Added line #L22 was not covered by tests

Check warning on line 37 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L37

Added line #L37 was not covered by tests

Check warning on line 43 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L43

Added line #L43 was not covered by tests

Check warning on line 50 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L50

Added line #L50 was not covered by tests

Check warning on line 58 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 62 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L61-L62

Added lines #L61 - L62 were not covered by tests

Check warning on line 71 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L68-L71

Added lines #L68 - L71 were not covered by tests

Check warning on line 82 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L78-L82

Added lines #L78 - L82 were not covered by tests

Check warning on line 86 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 89 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L89

Added line #L89 was not covered by tests

Check warning on line 91 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L91

Added line #L91 was not covered by tests

Check warning on line 94 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L94

Added line #L94 was not covered by tests

Check warning on line 96 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L96

Added line #L96 was not covered by tests

Check warning on line 103 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L103

Added line #L103 was not covered by tests

Check warning on line 109 in packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/botonic-react/src/webchat/hooks/use-scrollbar-controller.ts#L108-L109

Added lines #L108 - L109 were not covered by tests