MCPcopy Index your code
hub / github.com/angular/angular-cli / testRule

Function testRule

packages/schematics/angular/utility/workspace_spec.ts:21–23  ·  view source on GitHub ↗
(rule: Rule, tree: Tree)

Source from the content-addressed store, hash-verified

19});
20
21async function testRule(rule: Rule, tree: Tree): Promise<void> {
22 await callRule(rule, tree, {} as unknown as SchematicContext).toPromise();
23}
24
25describe('readWorkspace', () => {
26 it('reads a workspace using the default path value', async () => {

Callers 1

workspace_spec.tsFile · 0.70

Calls 1

callRuleFunction · 0.90

Tested by

no test coverage detected