mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(tests): correct components to use src path instead of ionic to ensure karma tests pass.
This commit is contained in:
@ -51,7 +51,7 @@
|
||||
'@angular/platform-browser': '/node_modules/@angular/platform-browser/platform-browser.umd.js',
|
||||
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js',
|
||||
'@angular/router': '/node_modules/@angular/router/router.umd.js',
|
||||
'ionic-angular': '/ionic'
|
||||
'ionic-angular': '/src'
|
||||
},
|
||||
packages: {
|
||||
'ionic-angular': {
|
||||
|
@ -22,6 +22,7 @@ module.exports = function(config) {
|
||||
'dist/bundles/ionic.system.js',
|
||||
{ pattern: 'node_modules/@angular/**/*.js', included: false},
|
||||
{ pattern: 'dist/tests/**/*.spec.js', included: false },
|
||||
{ pattern: 'src/**/*.js', included: false },
|
||||
'scripts/karma/test-main.js'
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user