MCPcopy
hub / github.com/angular/angular / expectSpan

Function expectSpan

packages/compiler/test/expression_parser/parser_spec.ts:765–767  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

763 expectSpan('(((foo) && bar) || baz) === true');
764
765 function expectSpan(input: string) {
766 expect(unparseWithSpan(parseBinding(input))).toContain([jasmine.any(String), input]);
767 }
768 });
769
770 it('should produce correct span for typeof expression', () => {

Callers 1

parser_spec.tsFile · 0.85

Calls 3

unparseWithSpanFunction · 0.90
parseBindingFunction · 0.85
anyMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…