You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,9 +37,10 @@
37
37
-[Angular 2](#angular-2)
38
38
-[Tips](#tips)
39
39
-[Importing packages written in TypeScript](#importing-packages-written-in-typescript)
40
+
-[Logging](#logging)
40
41
-[Known Limitations](#known-limitations)
41
42
-[Known limitations for TS compiler options](#known-limitations-for-ts-compiler-options)
42
-
-[`const enum` is not supported](#const-enum-is-not-supported)
43
+
-[`const enum` is not supported if `typeCheck` is not enabled](#const-enum-is-not-supported-if-typecheck-is-not-enabled)
43
44
-[How to Contribute](#how-to-contribute)
44
45
-[Quickstart to run tests (only if you're working on this package)](#quickstart-to-run-tests-only-if-youre-working-on-this-package)
45
46
-[License](#license)
@@ -364,6 +365,20 @@ your Jest configuration:
364
365
365
366
By default Jest ignores everything in `node_modules`. This setting prevents Jest from ignoring the package you're interested in, in this case `@foo/bar`, while continuing to ignore everything else in `node_modules`.
366
367
368
+
### Logging
369
+
370
+
This package is using [`bs-logger`](https://www.npmjs.com/package/bs-logger).
371
+
372
+
Use environment variable `TS_JEST_LOG=xxx` to configure log targets. By default it'll log entries with level _warning_ and above to **stderr**.
373
+
374
+
See the examples in [there](https://github.com/huafu/bs-logger#using-targets) to configure different target(s).
375
+
376
+
When posting an issue, it's best to join the full log file which you can create in CWD using:
0 commit comments