Skip to content

Commit

Permalink
chore(tests): correct components to use src path instead of ionic to …
Browse files Browse the repository at this point in the history
…ensure karma tests pass.
  • Loading branch information
jthoms1 committed May 19, 2016
1 parent 92683eb commit 2b836a9
Show file tree
Hide file tree
Showing 123 changed files with 131 additions and 129 deletions.
2 changes: 1 addition & 1 deletion demos/output.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ $colors: (
bright: #FFC125
);

@import "../src/ionic.wp";
@import "../ionic/ionic.wp";
2 changes: 1 addition & 1 deletion scripts/e2e/e2e.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down
1 change: 1 addition & 0 deletions scripts/karma/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
],

Expand Down
2 changes: 1 addition & 1 deletion src/components/action-sheet/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page, ActionSheet, Alert, Modal, NavController, ViewController, Platform} from '../../../../../ionic';
import {App, Page, ActionSheet, Alert, Modal, NavController, ViewController, Platform} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/alert/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page, Alert, Modal, NavController, ViewController} from '../../../../../ionic';
import {App, Page, Alert, Modal, NavController, ViewController} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/test/animations/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page, Animation, IonicApp} from '../../../../../ionic';
import {App, Page, Animation, IonicApp} from '../../../../../src';


@Page({
Expand Down
4 changes: 2 additions & 2 deletions src/components/app/test/app.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IonicApp, Nav, Tabs, Tab, NavOptions, Config, ViewController, Platform} from '../../../../ionic';
import {IonicApp, Nav, Tabs, Tab, NavOptions, Config, ViewController, Platform} from '../../../../src';

export function run() {

Expand Down Expand Up @@ -116,4 +116,4 @@ describe('IonicApp', () => {
});


}
}
2 changes: 1 addition & 1 deletion src/components/app/test/cordova/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, NavController, Page, IonicApp, Modal, ViewController} from '../../../../../ionic';
import {App, NavController, Page, IonicApp, Modal, ViewController} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/test/gestures/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page} from '../../../../../ionic';
import {App, Page} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/test/storage/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Component} from '@angular/core';
import {Control, ControlGroup} from '@angular/common';

import {App, Storage, LocalStorage, SqlStorage} from '../../../../../ionic';
import {App, Storage, LocalStorage, SqlStorage} from '../../../../../src';

@App({
templateUrl: 'main.html'
Expand Down
2 changes: 1 addition & 1 deletion src/components/app/test/typography/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/badge/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/block/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/button.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Button, Config} from '../../../../ionic';
import {Button, Config} from '../../../../src';

export function run() {

Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/clear/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/dynamic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/fab/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/full/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/outline/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/raised/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/round/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/test/sizes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/advanced/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/images/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/list/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/map/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/card/test/social/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/checkbox/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';
import {
Control,
ControlGroup,
Expand Down
2 changes: 1 addition & 1 deletion src/components/chip/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/chip/test/delete/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/chip/test/icon/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/chip/test/image/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, IonicApp} from '../../../../../ionic';
import {App, IonicApp} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/datetime/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page} from '../../../../../ionic';
import {App, Page} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/test/alignment/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/grid/test/full/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/icon/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/infinite-scroll/test/basic/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ViewChild} from '@angular/core';
import {App, Page, InfiniteScroll, NavController} from '../../../../../ionic';
import {App, Page, InfiniteScroll, NavController} from '../../../../../src';


@Page({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {InfiniteScroll, Content, Config} from '../../../../ionic';
import {InfiniteScroll, Content, Config} from '../../../../src';

export function run() {

Expand Down
2 changes: 1 addition & 1 deletion src/components/infinite-scroll/test/short-list/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, InfiniteScroll} from '../../../../../ionic';
import {App, InfiniteScroll} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/fixed-inline-labels/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page} from '../../../../../ionic';
import {App, Page} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/floating-labels/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/form-inputs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';
import {FormBuilder, Validators} from '@angular/common';


Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/inline-labels/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/input-focus/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/inset-inputs/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/placeholder-labels/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/stacked-labels/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page} from '../../../../../ionic';
import {App, Page} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/input/test/text-input.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {TextInput} from '../../../../ionic';
import {TextInput} from '../../../../src';

export function run() {

Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/buttons/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/dividers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/groups/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page, NavController, NavParams} from '../../../../../ionic';
import {App, Page, NavController, NavParams} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/images/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/media/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/sliding/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App, Page, IonicApp, Alert, NavController} from '../../../../../ionic';
import {App, Page, IonicApp, Alert, NavController} from '../../../../../src';


@Page({
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/test/text/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/test/headers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/test/inset/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/test/no-lines/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
2 changes: 1 addition & 1 deletion src/components/list/test/repeat-headers/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {App} from '../../../../../ionic';
import {App} from '../../../../../src';


@App({
Expand Down
Loading

0 comments on commit 2b836a9

Please sign in to comment.