`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
		
			
				
	
	
		
			16 lines
		
	
	
		
			376 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			376 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 {isDevMode} from '@angular/core';
 | |
| 
 | |
| {
 | |
|   describe('dev mode', () => {
 | |
|     it('is enabled in our tests by default', () => { expect(isDevMode()).toBe(true); });
 | |
|   });
 | |
| }
 |