Skip to content

Commit 2b836a9

Browse files
committed
chore(tests): correct components to use src path instead of ionic to ensure karma tests pass.
1 parent 92683eb commit 2b836a9

File tree

123 files changed

+131
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+131
-129
lines changed

demos/output.wp.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ $colors: (
3333
bright: #FFC125
3434
);
3535

36-
@import "../src/ionic.wp";
36+
@import "../ionic/ionic.wp";

scripts/e2e/e2e.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
'@angular/platform-browser': '/node_modules/@angular/platform-browser/platform-browser.umd.js',
5252
'@angular/platform-browser-dynamic': '/node_modules/@angular/platform-browser-dynamic/platform-browser-dynamic.umd.js',
5353
'@angular/router': '/node_modules/@angular/router/router.umd.js',
54-
'ionic-angular': '/ionic'
54+
'ionic-angular': '/src'
5555
},
5656
packages: {
5757
'ionic-angular': {

scripts/karma/karma.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = function(config) {
2222
'dist/bundles/ionic.system.js',
2323
{ pattern: 'node_modules/@angular/**/*.js', included: false},
2424
{ pattern: 'dist/tests/**/*.spec.js', included: false },
25+
{ pattern: 'src/**/*.js', included: false },
2526
'scripts/karma/test-main.js'
2627
],
2728

src/components/action-sheet/test/basic/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {App, Page, ActionSheet, Alert, Modal, NavController, ViewController, Platform} from '../../../../../ionic';
1+
import {App, Page, ActionSheet, Alert, Modal, NavController, ViewController, Platform} from '../../../../../src';
22

33

44
@Page({

src/components/alert/test/basic/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {App, Page, Alert, Modal, NavController, ViewController} from '../../../../../ionic';
1+
import {App, Page, Alert, Modal, NavController, ViewController} from '../../../../../src';
22

33

44
@Page({

src/components/app/test/animations/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {App, Page, Animation, IonicApp} from '../../../../../ionic';
1+
import {App, Page, Animation, IonicApp} from '../../../../../src';
22

33

44
@Page({

src/components/app/test/app.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {IonicApp, Nav, Tabs, Tab, NavOptions, Config, ViewController, Platform} from '../../../../ionic';
1+
import {IonicApp, Nav, Tabs, Tab, NavOptions, Config, ViewController, Platform} from '../../../../src';
22

33
export function run() {
44

@@ -116,4 +116,4 @@ describe('IonicApp', () => {
116116
});
117117

118118

119-
}
119+
}

src/components/app/test/cordova/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {App, NavController, Page, IonicApp, Modal, ViewController} from '../../../../../ionic';
1+
import {App, NavController, Page, IonicApp, Modal, ViewController} from '../../../../../src';
22

33

44
@Page({

src/components/app/test/gestures/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {App, Page} from '../../../../../ionic';
1+
import {App, Page} from '../../../../../src';
22

33

44
@Page({

src/components/app/test/storage/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Component} from '@angular/core';
22
import {Control, ControlGroup} from '@angular/common';
33

4-
import {App, Storage, LocalStorage, SqlStorage} from '../../../../../ionic';
4+
import {App, Storage, LocalStorage, SqlStorage} from '../../../../../src';
55

66
@App({
77
templateUrl: 'main.html'

0 commit comments

Comments
 (0)