No flags found
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
dd1a404
... +0 ...
4037faa
Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.
e.g., #unittest #integration
#production #enterprise
#frontend #backend
1 | + | import {v4 as uuid} from 'uuid' |
|
2 | + | ||
3 | + | let requestId: string |
|
4 | + | ||
5 | + | // `requestId` is generated once per entire node session |
|
6 | + | // upon the first call of `getRequestId` |
|
7 | + | export function getRequestId(): string { |
|
8 | + | if (!requestId) { |
|
9 | + | requestId = uuid() |
|
10 | + | } |
|
11 | + | ||
12 | + | return requestId |
|
13 | + | } |
Learn more Showing 1 files with coverage changes found.
src/request-id.ts
Files | Coverage |
---|---|
src | 0.00% |
Project Totals (8 files) | 0.00% |
#78
4037faa
dd1a404