MCPcopy
hub / github.com/angular/angular / runInNativeFileSystem

Function runInNativeFileSystem

packages/localize/tools/test/helpers/index.ts:19–25  ·  view source on GitHub ↗
(label: string, callback: () => void)

Source from the content-addressed store, hash-verified

17 */
18let counter = 0;
19export function runInNativeFileSystem(label: string, callback: () => void) {
20 describe(`<<FileSystem: Native>>/${label}`, () => {
21 beforeEach(() => setFileSystem(new MockFileSystemNative()));
22 afterEach(() => setFileSystem(new InvalidFileSystem()));
23 callback();
24 });
25}

Calls 4

setFileSystemFunction · 0.90
beforeEachFunction · 0.85
describeFunction · 0.50
callbackFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…