Skip to content

Refactor addNewCase to use selectedCases.

Codecov / codecov/patch failed Oct 2, 2024 in 0s

2.89% of diff hit (target 85.17%)

View this Pull Request on Codecov

2.89% of diff hit (target 85.17%)

Annotations

Check warning on line 26 in v3/src/components/case-card/card-view.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/card-view.tsx#L26

Added line #L26 was not covered by tests

Check warning on line 28 in v3/src/components/case-card/card-view.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/card-view.tsx#L28

Added line #L28 was not covered by tests

Check warning on line 41 in v3/src/components/case-card/card-view.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/card-view.tsx#L40-L41

Added lines #L40 - L41 were not covered by tests

Check warning on line 43 in v3/src/components/case-card/card-view.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/card-view.tsx#L43

Added line #L43 was not covered by tests

Check warning on line 28 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L28

Added line #L28 was not covered by tests

Check warning on line 34 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L34

Added line #L34 was not covered by tests

Check warning on line 38 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L37-L38

Added lines #L37 - L38 were not covered by tests

Check warning on line 43 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 49 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L49

Added line #L49 was not covered by tests

Check warning on line 51 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L51

Added line #L51 was not covered by tests

Check warning on line 54 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L54

Added line #L54 was not covered by tests

Check warning on line 57 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L56-L57

Added lines #L56 - L57 were not covered by tests

Check warning on line 71 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L71

Added line #L71 was not covered by tests

Check warning on line 101 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L100-L101

Added lines #L100 - L101 were not covered by tests

Check warning on line 131 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L131

Added line #L131 was not covered by tests

Check warning on line 135 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L135

Added line #L135 was not covered by tests

Check warning on line 139 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L137-L139

Added lines #L137 - L139 were not covered by tests

Check warning on line 141 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L141

Added line #L141 was not covered by tests

Check warning on line 144 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L144

Added line #L144 was not covered by tests

Check warning on line 149 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L149

Added line #L149 was not covered by tests

Check warning on line 154 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L151-L154

Added lines #L151 - L154 were not covered by tests

Check warning on line 156 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L156

Added line #L156 was not covered by tests

Check warning on line 167 in v3/src/components/case-card/case-card-model.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-card-model.ts#L167

Added line #L167 was not covered by tests

Check warning on line 72 in v3/src/components/case-card/case-view.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

v3/src/components/case-card/case-view.tsx#L72

Added line #L72 was not covered by tests