docs(testing): fix `base` setting in karma shims (#2694)

This commit is contained in:
Ward Bell 2016-10-29 19:37:27 -07:00 committed by GitHub
parent 323becee32
commit 7e5f5a25ad
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ var allSpecFiles = Object.keys(window.__karma__.files)
.filter(isBuiltFile);
System.config({
baseURL: '/base',
baseURL: 'base',
// Extend usual application package list with test folder
packages: { 'testing': { main: 'index.js', defaultExtension: 'js' } },

View File

@ -3,7 +3,7 @@ module.exports = function(config) {
var appBase = 'app/'; // transpiled app JS and map files
var appSrcBase = 'app/'; // app source TS files
var appAssets = '/base/app/'; // component assets fetched by Angular's compiler
var appAssets = 'base/app/'; // component assets fetched by Angular's compiler
var testBase = 'testing/'; // transpiled test JS and map files
var testSrcBase = 'testing/'; // test source TS files