
- updates tests - heavy prose revisions - uses HttpClient (with angular-in-memory-web-api) - test HeroService using `HttpClientTestingModule` - scrub away most By.CSS - fake async observable with `asyncData()` - extensive Twain work - different take on retryWhen - remove app barrels (& systemjs.extras) which troubled plunker/systemjs - add dummy export const to hero.ts (plunkr/systemjs fails w/o it) - shrink and re-organize TOC - add marble testing package and tests - demonstrate the "no beforeEach()" test coding style - add section on Http service testing - prepare for stackblitz - confirm works in plunker except excluded marble test - add tests for avoidFile class feature of CodeExampleComponent PR Close #20697
65 lines
2.4 KiB
HTML
65 lines
2.4 KiB
HTML
<!-- Run application specs in a browser -->
|
|
<!-- #docregion -->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<base href="/">
|
|
<title>Sample App 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>
|
|
<!-- Polyfills -->
|
|
<script src="node_modules/core-js/client/shim.min.js"></script>
|
|
|
|
<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/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>
|
|
|
|
<script>
|
|
var __spec_files__ = [
|
|
'app/about/about.component.spec',
|
|
'app/app-initial.component.spec',
|
|
'app/app.component.router.spec',
|
|
'app/app.component.spec',
|
|
'app/banner/banner-initial.component.spec',
|
|
'app/banner/banner.component.spec',
|
|
'app/banner/banner.component.detect-changes.spec',
|
|
'app/banner/banner-external.component.spec',
|
|
'app/dashboard/dashboard-hero.component.spec',
|
|
'app/dashboard/dashboard.component.no-testbed.spec',
|
|
'app/dashboard/dashboard.component.spec',
|
|
'app/hero/hero-detail.component.no-testbed.spec',
|
|
'app/hero/hero-detail.component.spec',
|
|
'app/hero/hero-list.component.spec',
|
|
'app/model/hero.service.spec',
|
|
'app/model/http-hero.service.spec',
|
|
'app/shared/highlight.directive.spec',
|
|
'app/shared/title-case.pipe.spec',
|
|
'app/twain/twain.component.spec',
|
|
// 'app/twain/twain.component.marbles.spec',
|
|
'app/welcome/welcome.component.spec',
|
|
|
|
'app/demo/async-helper.spec',
|
|
'app/demo/demo.spec',
|
|
'app/demo/demo.testbed.spec',
|
|
];
|
|
</script>
|
|
<script src="browser-test-shim.js"></script>
|
|
</body>
|
|
|
|
</html>
|