MCPcopy Create free account
hub / github.com/darkreader/darkreader / multiline

Function multiline

tests/support/test-utils.ts:9–17  ·  view source on GitHub ↗
(...lines: string[])

Source from the content-addressed store, hash-verified

7}
8
9export function multiline(...lines: string[]): string {
10 if (lines.length < 1) {
11 return '\n';
12 }
13 if (lines[lines.length - 1] !== '') {
14 lines.push('');
15 }
16 return lines.join('\n');
17}
18
19export function timeout(delay: number): Promise<void> {
20 return new Promise<void>((resolve) => setTimeout(resolve, delay));

Callers 12

loadBasicPageFunction · 0.90
loadBasicPageFunction · 0.90
loadBasicPageFunction · 0.90
loadBasicPageFunction · 0.90
fixes.tests.tsFile · 0.90
loadBasicPageFunction · 0.90
loadBasicPageFunction · 0.90
toggle.tests.tsFile · 0.90
fixes.tests.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…