build(core): remove main() from specs (#21053)

`main()` function used to be needed to support dart, since dart
Does not allow top level statements. Since we no longer use dart
The need for `main()` has been removed.

In preparation for `Basel` and standardized way of running tests
we are removing `main()`

PR Close #21053
This commit is contained in:
Miško Hevery
2017-12-15 16:28:41 -08:00
committed by Igor Minar
parent 86a36eaadd
commit f3fc74ab67
59 changed files with 74 additions and 73 deletions

View File

@ -9,7 +9,7 @@
import {Component, Directive, ElementRef, Input, NO_ERRORS_SCHEMA, QueryList, ViewChild, ViewChildren} from '@angular/core';
import {TestBed} from '@angular/core/testing';
export function main() {
{
describe('ViewChild', () => {
beforeEach(() => {
TestBed.configureTestingModule({