.l-main-section h2(class="function export") beforeEach pre.prettyprint code. beforeEach(fn: FunctionWithParamTokens | SyncTestFn) : void p.location-badge. exported from angular2/test defined in angular2/src/test_lib/test_lib.ts (line 100) :markdown