Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 9e61862

Browse files
committed
docs(testing): remove dis-used karma-htmlfile-reporter
also comments on the optional "testing" folder and corrects var names to match also leaves Jasmine Spec Runner output visible when tests finish
1 parent 8c1c9d8 commit 9e61862

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

public/docs/_examples/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"karma": "^1.3.0",
6464
"karma-chrome-launcher": "^2.0.0",
6565
"karma-cli": "^1.0.1",
66-
"karma-htmlfile-reporter": "^0.3.4",
6766
"karma-jasmine": "^1.0.2",
6867
"karma-jasmine-html-reporter": "^0.2.2",
6968
"karma-phantomjs-launcher": "^1.0.2",

public/docs/_examples/testing/ts/app/banner.component.detect-changes.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { async } from '@angular/core/testing';
55
// #enddocregion import-async
66
// #docregion import-ComponentFixtureAutoDetect
7-
import { ComponentFixtureAutoDetect} from '@angular/core/testing';
7+
import { ComponentFixtureAutoDetect } from '@angular/core/testing';
88
// #enddocregion import-ComponentFixtureAutoDetect
99
import { ComponentFixture, TestBed } from '@angular/core/testing';
1010
import { By } from '@angular/platform-browser';

public/docs/_examples/testing/ts/karma-test-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var allSpecFiles = Object.keys(window.__karma__.files)
3636

3737
System.config({
3838
baseURL: 'base',
39-
// Extend usual application package list with test folder
39+
// Extend usual application package list with testing folder
4040
packages: { 'testing': { main: 'index.js', defaultExtension: 'js' } },
4141

4242
// Assume npm: is set in `paths` in systemjs.config

public/docs/_examples/testing/ts/karma.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = function(config) {
55
var appSrcBase = 'app/'; // app source TS files
66
var appAssets = 'base/app/'; // component assets fetched by Angular's compiler
77

8+
// Testing helpers (optional) are conventionally in a folder called `testing`
89
var testingBase = 'testing/'; // transpiled test JS and map files
910
var testingSrcBase = 'testing/'; // test source TS files
1011

0 commit comments

Comments
 (0)