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
6b7b1ef
... +2 ...
407af18
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
14 | 14 | export function containerPhrasing(parent, context, safeOptions) { |
|
15 | 15 | const indexStack = context.indexStack |
|
16 | 16 | const children = parent.children || [] |
|
17 | - | /** @type {Array.<string>} */ |
|
17 | + | /** @type {Array<string>} */ |
|
18 | 18 | const results = [] |
|
19 | 19 | let index = -1 |
|
20 | 20 | let before = safeOptions.before |
3 | 3 | */ |
|
4 | 4 | ||
5 | 5 | /** |
|
6 | - | * @param {Array.<string>} stack |
|
6 | + | * @param {Array<string>} stack |
|
7 | 7 | * @param {Unsafe} pattern |
|
8 | 8 | * @returns {boolean} |
|
9 | 9 | */ |
15 | 15 | } |
|
16 | 16 | ||
17 | 17 | /** |
|
18 | - | * @param {Array.<string>} stack |
|
18 | + | * @param {Array<string>} stack |
|
19 | 19 | * @param {Unsafe['inConstruct']} list |
|
20 | 20 | * @param {boolean} none |
|
21 | 21 | * @returns {boolean} |
17 | 17 | 'titleApostrophe' |
|
18 | 18 | ] |
|
19 | 19 | ||
20 | - | /** @type {Array.<Unsafe>} */ |
|
20 | + | /** @type {Array<Unsafe>} */ |
|
21 | 21 | export const unsafe = [ |
|
22 | 22 | {character: '\t', after: '[\\r\\n]', inConstruct: 'phrasing'}, |
|
23 | 23 | {character: '\t', before: '[\\r\\n]', inConstruct: 'phrasing'}, |
9 | 9 | /** |
|
10 | 10 | * @param {Context} context |
|
11 | 11 | * @param {string|null|undefined} input |
|
12 | - | * @param {SafeOptions & {encode?: Array.<string>}} config |
|
12 | + | * @param {SafeOptions & {encode?: Array<string>}} config |
|
13 | 13 | * @returns {string} |
|
14 | 14 | */ |
|
15 | 15 | export function safe(context, input, config) { |
|
16 | 16 | const value = (config.before || '') + (input || '') + (config.after || '') |
|
17 | - | /** @type {Array.<number>} */ |
|
17 | + | /** @type {Array<number>} */ |
|
18 | 18 | const positions = [] |
|
19 | - | /** @type {Array.<string>} */ |
|
19 | + | /** @type {Array<string>} */ |
|
20 | 20 | const result = [] |
|
21 | 21 | /** @type {Record<number, {before: boolean, after: boolean}>} */ |
|
22 | 22 | const infos = {} |
129 | 129 | */ |
|
130 | 130 | function escapeBackslashes(value, after) { |
|
131 | 131 | const expression = /\\(?=[!-/:-@[-`{-~])/g |
|
132 | - | /** @type {Array.<number>} */ |
|
132 | + | /** @type {Array<number>} */ |
|
133 | 133 | const positions = [] |
|
134 | - | /** @type {Array.<string>} */ |
|
134 | + | /** @type {Array<string>} */ |
|
135 | 135 | const results = [] |
|
136 | 136 | const whole = value + after |
|
137 | 137 | let index = -1 |
407af18
deffd14
c997820
6b7b1ef