Skip to content

test: add tests for most functions

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch succeeded Sep 5, 2023 in 1s

69.06% of diff hit (target 66.47%)

View this Pull Request on Codecov

69.06% of diff hit (target 66.47%)

Annotations

Check warning on line 212 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L212

Added line #L212 was not covered by tests

Check warning on line 262 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L262

Added line #L262 was not covered by tests

Check warning on line 267 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L267

Added line #L267 was not covered by tests

Check warning on line 542 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L541-L542

Added lines #L541 - L542 were not covered by tests

Check warning on line 569 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L568-L569

Added lines #L568 - L569 were not covered by tests

Check warning on line 571 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L571

Added line #L571 was not covered by tests

Check warning on line 595 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L595

Added line #L595 was not covered by tests

Check warning on line 601 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L601

Added line #L601 was not covered by tests

Check warning on line 607 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L607

Added line #L607 was not covered by tests

Check warning on line 632 in gateway/blocks_backend.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/blocks_backend.go#L632

Added line #L632 was not covered by tests

Check warning on line 776 in gateway/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler.go#L776

Added line #L776 was not covered by tests

Check warning on line 926 in gateway/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler.go#L925-L926

Added lines #L925 - L926 were not covered by tests

Check warning on line 93 in gateway/handler_car.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_car.go#L93

Added line #L93 was not covered by tests

Check warning on line 92 in gateway/handler_ipns_record.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_ipns_record.go#L92

Added line #L92 was not covered by tests

Check warning on line 49 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L46-L49

Added lines #L46 - L49 were not covered by tests

Check warning on line 56 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L53-L56

Added lines #L53 - L56 were not covered by tests

Check warning on line 62 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L62

Added line #L62 was not covered by tests

Check warning on line 69 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L69

Added line #L69 was not covered by tests

Check warning on line 77 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L77

Added line #L77 was not covered by tests

Check warning on line 81 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L81

Added line #L81 was not covered by tests

Check warning on line 92 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L91-L92

Added lines #L91 - L92 were not covered by tests

Check warning on line 97 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L95-L97

Added lines #L95 - L97 were not covered by tests

Check warning on line 138 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L135-L138

Added lines #L135 - L138 were not covered by tests

Check warning on line 140 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L140

Added line #L140 was not covered by tests

Check warning on line 157 in gateway/handler_unixfs__redirects.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

gateway/handler_unixfs__redirects.go#L154-L157

Added lines #L154 - L157 were not covered by tests