Rob Wormald recognized that we had no plunker for a simple component test. Inspired improved learning path for testing including: * Add plunkers for both inline and external template versions of the simplest `BannerComponent` * Added the banner-specs for that purpose and also a quickstart-specs in the setup folder * Adjusted prose in testing and setup-systemjs-anatomy to call these out * Moved testing of external template spec earlier in the guide because it is likely to be needed right away. * Add comments on the optional "testing" folder and corrects var names to match * Leaves Jasmine Spec Runner output visible when tests finish
		
			
				
	
	
		
			41 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- Run application specs in a browser -->
 | |
| <!-- #docregion -->
 | |
| <!DOCTYPE html>
 | |
| <html>
 | |
| <head>
 | |
|   <base href="/">
 | |
|   <title>1st Specs</title>
 | |
|   <meta charset="UTF-8">
 | |
|   <meta name="viewport" content="width=device-width, initial-scale=1">
 | |
|   <link rel="stylesheet" href="styles.css">
 | |
|   <link rel="stylesheet" href="node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
 | |
| </head>
 | |
| <body>
 | |
|   <script src="node_modules/systemjs/dist/system.src.js"></script>
 | |
| 
 | |
|   <script src="node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
 | |
|   <script src="node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
 | |
|   <script src="node_modules/jasmine-core/lib/jasmine-core/boot.js"></script>
 | |
| 
 | |
|   <script src="node_modules/reflect-metadata/Reflect.js"></script>
 | |
| 
 | |
|   <script src="node_modules/zone.js/dist/zone.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/long-stack-trace-zone.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/proxy.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/sync-test.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/jasmine-patch.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/async-test.js"></script>
 | |
|   <script src="node_modules/zone.js/dist/fake-async-test.js"></script>
 | |
| 
 | |
|   <!-- #docregion files -->
 | |
|   <script>
 | |
|     var __spec_files__ = [
 | |
|       'app/app.component.spec'
 | |
|     ];
 | |
|   </script>
 | |
|   <!-- #enddocregion files-->
 | |
|   <script src="browser-test-shim.js"></script>
 | |
| </body>
 | |
| 
 | |
| </html>
 |