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

kulshekhar / ts-jest / 9804725795

05 Jul 2024 07:30AM UTC coverage: 96.474%. Remained the same
9804725795

push

github

ahnpnl
build(deps): Update dependency eslint-plugin-jsdoc to ^48.5.1

788 of 885 branches covered (89.04%)

Branch coverage included in aggregate %.

4712 of 4816 relevant lines covered (97.84%)

1248.26 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