• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

yiming-liao / logry / 15867350799

25 Jun 2025 04:27AM UTC coverage: 97.378% (+0.9%) from 96.499%
15867350799

push

github

yiming-liao
docs(readme): restructure outline and improve doc flow

473 of 514 branches covered (92.02%)

Branch coverage included in aggregate %.

4207 of 4292 relevant lines covered (98.02%)

5.23 hits per line

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

89.29
/src/modules/normalizers/fields/normalize-context.ts
1
import type { NormalizeFieldOptions } from "@/modules/normalizers/types";
1✔
2
import type {
1✔
3
  NormalizedContext,
1✔
4
  RawContext,
1✔
5
  SnapshotLogFields,
1✔
6
} from "@/shared/types/log-fields";
1✔
7
import { tryCustomNormalizer } from "@/modules/normalizers/utils/try-custom-normalizer";
1✔
8

1✔
9
export const normalizeContext = (
1✔
10
  fieldValue: RawContext,
6✔
11
  raw: SnapshotLogFields,
6✔
12
  options: NormalizeFieldOptions<RawContext, NormalizedContext> = {},
6✔
13
): NormalizedContext => {
6✔
14
  const { customNormalizer } = options;
6✔
15

6✔
16
  const customized = tryCustomNormalizer({
6✔
17
    label: "context",
6✔
18
    input: { fieldValue, raw },
6✔
19
    customNormalizer,
6✔
20
  });
6✔
21
  if (customized) {
6!
22
    return customized;
×
23
  }
×
24

6✔
25
  return fieldValue;
6✔
26
};
6✔
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