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

kulshekhar / ts-jest / 10047525090

22 Jul 2024 08:00PM UTC coverage: 95.285% (+0.03%) from 95.254%
10047525090

push

github

ahnpnl
build(deps): Update dependency @testing-library/jest-dom to ^6.4.7

794 of 891 branches covered (89.11%)

Branch coverage included in aggregate %.

4763 of 4941 relevant lines covered (96.4%)

1243.71 hits per line

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

88.0
/src/utils/logger.ts
1
import { LogContexts, LogLevels, createLogger } from 'bs-logger'
6✔
2

6✔
3
import { backportTsJestDebugEnvVar } from './backports'
6✔
4

6✔
5
const original = process.env.TS_JEST_LOG
6✔
6

6✔
7
const buildOptions = () => ({
6✔
8
  context: {
6✔
9
    [LogContexts.package]: 'ts-jest',
6✔
10
    [LogContexts.logLevel]: LogLevels.trace,
6✔
11
    version: require('../../package.json').version,
6✔
12
  },
6✔
13
  targets: process.env.TS_JEST_LOG || undefined,
6✔
14
})
6✔
15

6✔
16
export let rootLogger = createLogger(buildOptions())
6✔
17

6✔
18
backportTsJestDebugEnvVar(rootLogger)
6✔
19

6✔
20
// re-create the logger if the env var has been backported
6✔
21
if (original !== process.env.TS_JEST_LOG) {
6!
22
  rootLogger = createLogger(buildOptions())
×
23
}
×
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

© 2025 Coveralls, Inc