docs(testing): fix `base` setting in karma shims (#2694)
This commit is contained in:
parent
323becee32
commit
7e5f5a25ad
|
@ -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' } },
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue