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

Function ruleNo

packages/angular_devkit/schematics/src/rules/base_spec.ts:202–207  ·  view source on GitHub ↗
(tree: Tree)

Source from the content-addressed store, hash-verified

200 return empty();
201 };
202 const ruleNo: Rule = (tree: Tree) => {
203 expect(tree.exists('/test1')).toBe(false);
204 expect(tree.exists('/test2')).toBe(true);
205
206 return empty();
207 };
208
209 const result = await lastValueFrom(
210 callRule(partitionApplyMerge(predicate, ruleYes, ruleNo), observableOf(tree), context),

Callers

nothing calls this directly

Calls 2

emptyFunction · 0.90
existsMethod · 0.65

Tested by

no test coverage detected