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

@ -28,7 +28,7 @@ import {stringify} from '../../src/util';
const ANCHOR_ELEMENT = new InjectionToken('AnchorElement');
export function main() {
{
describe('jit', () => { declareTests({useJit: true}); });
describe('no jit', () => { declareTests({useJit: false}); });