-
Notifications
You must be signed in to change notification settings - Fork 1
/
.labrc.js
99 lines (99 loc) · 2.51 KB
/
.labrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
'use strict'
// default settings for lab test runs.
//
// This is overridden if arguments are passed to lab via the command line.
module.exports = {
verbose: true,
coverage: true,
// Means when we use *.only() in our tests we just get the output for what we've flagged rather than all output but
// greyed out to show it was skipped
'silent-skips': true,
// lcov reporter required for SonarCloud
reporter: ['console', 'html', 'lcov'],
output: ['stdout', 'coverage/coverage.html', 'coverage/lcov.info'],
globals: [
'__classPrivateFieldGet',
'__classPrivateFieldIn',
'__extends',
'__assign',
'__rest',
'__decorate',
'__param',
'__metadata',
'__awaiter',
'__generator',
'__exportStar',
'__values',
'__read',
'__spread',
'__spreadArrays',
'__await',
'__asyncGenerator',
'__asyncDelegator',
'__asyncValues',
'__makeTemplateObject',
'__importStar',
'__importDefault',
'__classPrivateFieldSet',
'version',
'payload',
'fetch',
'Response',
'Headers',
'Request',
'__coverage__',
'__createBinding',
'__spreadArray',
'AggregateError',
'atob',
'btoa',
'AbortController',
'AbortSignal',
'EventTarget',
'Event',
'MessageChannel',
'MessagePort',
'MessageEvent',
'performance',
'BroadcastChannel',
'structuredClone',
'DOMException',
'Blob',
'Performance',
'ReadableStream',
'ReadableStreamDefaultReader',
'ReadableStreamBYOBReader',
'ReadableStreamBYOBRequest',
'ReadableByteStreamController',
'ReadableStreamDefaultController',
'TransformStream',
'TransformStreamDefaultController',
'WritableStream',
'WritableStreamDefaultWriter',
'WritableStreamDefaultController',
'ByteLengthQueuingStrategy',
'CountQueuingStrategy',
'TextEncoderStream',
'TextDecoderStream',
'CompressionStream',
'DecompressionStream',
'FormData',
'Symbol(undici.globalDispatcher.1)',
// GlobalNotifier is added by us a global in a server plugin. It's how we make logging available anywhere in the app
// whilst avoiding having to pass it around
'GlobalNotifier',
// These were reported once we updated our environments to run Node v20
'File',
'PerformanceEntry',
'PerformanceMark',
'PerformanceMeasure',
'PerformanceObserver',
'PerformanceObserverEntryList',
'PerformanceResourceTiming',
'crypto',
'Crypto',
'CryptoKey',
'SubtleCrypto',
'CustomEvent'
].join(',')
};