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

yiming-liao / logry / 19127807272

06 Nov 2025 03:07AM UTC coverage: 95.603% (-0.3%) from 95.92%
19127807272

push

github

yiming-liao
chore(release): bump version to 2.0.0

448 of 505 branches covered (88.71%)

Branch coverage included in aggregate %.

3901 of 4044 relevant lines covered (96.46%)

3.88 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