MCPcopy
hub / github.com/darkreader/darkreader / setNewsForTesting

Function setNewsForTesting

src/background/newsmaker.ts:217–221  ·  view source on GitHub ↗
(news: News[])

Source from the content-addressed store, hash-verified

215}
216
217export function setNewsForTesting(news: News[]): void {
218 if (__TEST__) {
219 newsForTesting = news;
220 }
221}

Callers 1

index.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected