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

Commit 7e5f5a2

Browse files
authored
docs(testing): fix base setting in karma shims (#2694)
1 parent 323bece commit 7e5f5a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var allSpecFiles = Object.keys(window.__karma__.files)
2828
.filter(isBuiltFile);
2929

3030
System.config({
31-
baseURL: '/base',
31+
baseURL: 'base',
3232
// Extend usual application package list with test folder
3333
packages: { 'testing': { main: 'index.js', defaultExtension: 'js' } },
3434

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = function(config) {
33

44
var appBase = 'app/'; // transpiled app JS and map files
55
var appSrcBase = 'app/'; // app source TS files
6-
var appAssets = '/base/app/'; // component assets fetched by Angular's compiler
6+
var appAssets = 'base/app/'; // component assets fetched by Angular's compiler
77

88
var testBase = 'testing/'; // transpiled test JS and map files
99
var testSrcBase = 'testing/'; // test source TS files

0 commit comments

Comments
 (0)