Skip to content

fix(socket-errors): moving isconnecting logic into disconnect

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

4.76% of diff hit (target 20.84%)

View this Pull Request on Codecov

4.76% of diff hit (target 20.84%)

Annotations

Check warning on line 23 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L20-L23

Added lines #L20 - L23 were not covered by tests

Check warning on line 30 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L30

Added line #L30 was not covered by tests

Check warning on line 38 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L38

Added line #L38 was not covered by tests

Check warning on line 46 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L44-L46

Added lines #L44 - L46 were not covered by tests

Check warning on line 52 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L49-L52

Added lines #L49 - L52 were not covered by tests

Check warning on line 55 in src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/use-stacks-api-socket-client.ts#L55

Added line #L55 was not covered by tests

Check warning on line 15 in src/app/_components/BlockList/Sockets/useSubscribeBlocks.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/useSubscribeBlocks.ts#L15

Added line #L15 was not covered by tests

Check warning on line 33 in src/app/_components/BlockList/Sockets/useSubscribeBlocks.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/app/_components/BlockList/Sockets/useSubscribeBlocks.ts#L33

Added line #L33 was not covered by tests