`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
		
			
				
	
	
		
			18 lines
		
	
	
		
			527 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			527 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google Inc. All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {LOCALE_ID} from '@angular/core';
 | 
						|
import {describe, expect, inject, it} from '../testing/src/testing_internal';
 | 
						|
 | 
						|
{
 | 
						|
  describe('Application module', () => {
 | 
						|
    it('should set the default locale to "en-US"',
 | 
						|
       inject([LOCALE_ID], (defaultLocale: string) => { expect(defaultLocale).toEqual('en-US'); }));
 | 
						|
  });
 | 
						|
}
 |