MCPcopy Index your code
hub / github.com/angular/angular / expectDoesNotContain

Function expectDoesNotContain

packages/language-service/test/completions_spec.ts:2347–2356  ·  view source on GitHub ↗
(
  completions: ts.CompletionInfo | undefined,
  kind: ts.ScriptElementKind | DisplayInfoKind,
  names: string[],
)

Source from the content-addressed store, hash-verified

2345}
2346
2347function expectDoesNotContain(
2348 completions: ts.CompletionInfo | undefined,
2349 kind: ts.ScriptElementKind | DisplayInfoKind,
2350 names: string[],
2351) {
2352 expect(completions).toBeDefined();
2353 for (const name of names) {
2354 expect(completions!.entries).not.toContain(jasmine.objectContaining({name, kind} as any));
2355 }
2356}
2357
2358function expectReplacementText(
2359 completions: ts.CompletionInfo | undefined,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…