• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

terminal-nerds / snippets / 5113553229

pending completion
5113553229

Pull #105

github

web-flow
Merge 5e619d6af into e71a93724
Pull Request #105: Major reorganization

267 of 329 branches covered (81.16%)

Branch coverage included in aggregate %.

377 of 377 new or added lines in 13 files covered. (100.0%)

3396 of 3511 relevant lines covered (96.72%)

34.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
/packages/string/source/schema/sub/empty.ts
1
import { z } from "zod";
1✔
2

1✔
3
export type EmptyString = "";
1✔
4

1✔
5
export const SCHEMA_STRING_EMPTY = z.literal("");
1✔
6

1✔
7
export function isStringEmpty(value: string): value is EmptyString {
1✔
8
        return SCHEMA_STRING_EMPTY.safeParse(value).success;
22✔
9
}
22✔
10

1✔
11
export function validateStringEmpty(value: string): asserts value is EmptyString {
1✔
12
        SCHEMA_STRING_EMPTY.parse(value);
×
13
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc