import {beforeEach, ddescribe, describe, expect, iit, inject, it, xit} from '@angular/core/testing/testing_internal'; export function main() { describe('Shim', () => { it('should provide correct function.name ', () => { var functionWithoutName = identity(() => function(_: any /** TODO #9100 */) {}); function foo(_: any /** TODO #9100 */){}; expect((functionWithoutName).name).toBeFalsy(); expect((foo).name).toEqual('foo'); }); }); } function identity(a: any /** TODO #9100 */) { return a; }