Skip to content

Commit

Permalink
Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danrevah committed Nov 28, 2016
1 parent 85fa3f5 commit 24cf238
Show file tree
Hide file tree
Showing 54 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ getTestBed().initTestEnvironment(
platformBrowserDynamicTesting()
);
// Then we find all the tests.
let context = require.context('./', true, /\.spec\.ts/);
let context = require.context('../test/', true, /\.spec\.ts/);
// And load the modules.
context.keys().map(context);
// Finally, start Karma to run the tests.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {DiffPipe} from "./diff";
import {DiffPipe} from '../../../src/app/pipes/array/diff';

describe('DiffPipe', () => {
let pipe: DiffPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {EveryPipe} from './every';
import {isNumber, isUndefined} from '../helpers';
import {EveryPipe} from '../../../src/app/pipes/array/every';
import {isNumber, isUndefined} from '../../../src/app/pipes/helpers';

describe('EveryPipe', () => {
let pipe: EveryPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {FlattenPipe} from "./flatten";
import {FlattenPipe} from "../../../src/app/pipes/array/flatten";

describe('FlattenPipe', () => {
let pipe: FlattenPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {InitialPipe} from './initial';
import {InitialPipe} from '../../../src/app/pipes/array/initial';

describe('InitialPipe', () => {
let pipe: InitialPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IntersectionPipe} from './intersection';
import {IntersectionPipe} from '../../../src/app/pipes/array/intersection';

describe('IntersectionPipe', () => {
let pipe: IntersectionPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {PluckPipe} from './pluck';
import {PluckPipe} from '../../../src/app/pipes/array/pluck';

describe('PluckPipe', () => {
let pipe: PluckPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ReversePipe} from "./reverse";
import {ReversePipe} from "../../../src/app/pipes/array/reverse";

describe('ReversePipe', () => {
let pipe: ReversePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {SamplePipe} from './sample';
import {SamplePipe} from '../../../src/app/pipes/array/sample';

describe('SamplePipe', () => {
let pipe: SamplePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ShufflePipe} from './shuffle';
import {ShufflePipe} from '../../../src/app/pipes/array/shuffle';

describe('ShufflePipe', () => {
let pipe: ShufflePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {SomePipe} from './some';
import {isNumber, isUndefined} from '../helpers';
import {SomePipe} from '../../../src/app/pipes/array/some';
import {isNumber, isUndefined} from '../../../src/app/pipes/helpers';

describe('SomePipe', () => {
let pipe: SomePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {TailPipe} from './tail';
import {TailPipe} from '../../../src/app/pipes/array/tail';

describe('TailPipe', () => {
let pipe: TailPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {TrurthifyPipe} from "./truthify";
import {TrurthifyPipe} from "../../../src/app/pipes/array/truthify";

describe('TrurthifyPipe', () => {
let pipe: TrurthifyPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {UnionPipe} from "./union";
import {UnionPipe} from "../../../src/app/pipes/array/union";

describe('UnionPipe', () => {
let pipe: UnionPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {UniquePipe} from "./unique";
import {UniquePipe} from "../../../src/app/pipes/array/unique";

describe('DiffPipe', () => {
let pipe: UniquePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {WithoutPipe} from "./without";
import {WithoutPipe} from "../../../src/app/pipes/array/without";

describe('WithoutPipe', () => {
let pipe: WithoutPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsArrayPipe} from "./is-array";
import {IsArrayPipe} from "../../../src/app/pipes/boolean/is-array";

describe('IsArrayPipe', () => {
let pipe: IsArrayPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsDefinedPipe} from "./is-defined";
import {IsDefinedPipe} from "../../../src/app/pipes/boolean/is-defined";

describe('IsDefinedPipe', () => {
let pipe: IsDefinedPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsEqualToPipe} from "./is-equal-to";
import {IsEqualToPipe} from "../../../src/app/pipes/boolean/is-equal-to";

describe('IsEqualToPipe', () => {
let pipe: IsEqualToPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsFunctionPipe} from "./is-function";
import {IsFunctionPipe} from "../../../src/app/pipes/boolean/is-function";

describe('IsFunctionPipe', () => {
let pipe: IsFunctionPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsGreaterEqualThanPipe} from "./is-greater-equal-than";
import {IsGreaterEqualThanPipe} from "../../../src/app/pipes/boolean/is-greater-equal-than";

describe('IsGreaterEqualThanPipe', () => {
let pipe: IsGreaterEqualThanPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsGreaterThanPipe} from "./is-greater-than";
import {IsGreaterThanPipe} from "../../../src/app/pipes/boolean/is-greater-than";

describe('IsGreaterThanPipe', () => {
let pipe: IsGreaterThanPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsIdenticalToPipe} from "./is-identical-to";
import {IsIdenticalToPipe} from "../../../src/app/pipes/boolean/is-identical-to";

describe('IsIdenticalToPipe', () => {
let pipe: IsIdenticalToPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsLessEqualThanPipe} from "./is-less-equal-than";
import {IsLessEqualThanPipe} from "../../../src/app/pipes/boolean/is-less-equal-than";

describe('IsLessEqualThanPipe', () => {
let pipe: IsLessEqualThanPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsLessThanPipe} from "./is-less-than";
import {IsLessThanPipe} from "../../../src/app/pipes/boolean/is-less-than";

describe('IsLessThanPipe', () => {
let pipe: IsLessThanPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsNotEqualToPipe} from "./is-not-equal-to";
import {IsNotEqualToPipe} from "../../../src/app/pipes/boolean/is-not-equal-to";

describe('IsNotEqualToPipe', () => {
let pipe: IsNotEqualToPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsNotIdenticalToPipe} from "./is-not-identical-to";
import {IsNotIdenticalToPipe} from "../../../src/app/pipes/boolean/is-not-identical-to";

describe('IsNotIdenticalToPipe', () => {
let pipe: IsNotIdenticalToPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsNullPipe} from "./is-null";
import {IsNullPipe} from "../../../src/app/pipes/boolean/is-null";

describe('IsNullPipe', () => {
let pipe: IsNullPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsNumberPipe} from "./is-number";
import {IsNumberPipe} from "../../../src/app/pipes/boolean/is-number";

describe('IsNumberPipe', () => {
let pipe: IsNumberPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsObjectPipe} from "./is-object";
import {IsObjectPipe} from "../../../src/app/pipes/boolean/is-object";

describe('IsObjectPipe', () => {
let pipe: IsObjectPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsStringPipe} from "./is-string";
import {IsStringPipe} from "../../../src/app/pipes/boolean/is-string";

describe('IsStringPipe', () => {
let pipe: IsStringPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsUndefinedPipe} from "./is-undefined";
import {IsUndefinedPipe} from "../../../src/app/pipes/boolean/is-undefined";

describe('IsUndefinedPipe', () => {
let pipe: IsUndefinedPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {extractProperty} from './helpers';
import {extractProperty} from '../../../src/app/pipes/helpers/helpers';

describe('Utils Tests', () => {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {BytesPipe} from './bytes';
import {BytesPipe} from '../../../src/app/pipes/math/bytes';

describe('BytesPipe', () => {
let pipe: BytesPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {CeilPipe} from "./ceil";
import {CeilPipe} from "../../../src/app/pipes/math/ceil";

describe('CeilPipe', () => {
let pipe: CeilPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {DegreesPipe} from "./degrees";
import {DegreesPipe} from "../../../src/app/pipes/math/degrees";

describe('DegreesPipe', () => {
let pipe: DegreesPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {FloorPipe} from "./floor";
import {FloorPipe} from "../../../src/app/pipes/math/floor";

describe('FloorPipe', () => {
let pipe: FloorPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MaxPipe} from "./max";
import {MaxPipe} from "../../../src/app/pipes/math/max";

describe('MaxPipe', () => {
let pipe: MaxPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {MinPipe} from "./min";
import {MinPipe} from "../../../src/app/pipes/math/min";

describe('MinPipe', () => {
let pipe: MinPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {PercentagePipe} from './percentage';
import {PercentagePipe} from '../../../src/app/pipes/math/percentage';

describe('PercentagePipe', () => {
let pipe: PercentagePipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {PowerPipe} from "./pow";
import {PowerPipe} from "../../../src/app/pipes/math/pow";

describe('PowerPipe', () => {
let pipe: PowerPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {RadiansPipe} from "./radians";
import {RadiansPipe} from "../../../src/app/pipes/math/radians";

describe('RadiansPipe', () => {
let pipe: RadiansPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {RoundPipe} from "./round";
import {RoundPipe} from "../../../src/app/pipes/math/round";

describe('RoundPipe', () => {
let pipe: RoundPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {SqrtPipe} from "./sqrt";
import {SqrtPipe} from "../../../src/app/pipes/math/sqrt";

describe('SqrtPipe', () => {
let pipe: SqrtPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {SumPipe} from "./sum";
import {SumPipe} from "../../../src/app/pipes/math/sum";

describe('SumPipe', () => {
let pipe: SumPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {LeftTrimPipe} from './ltrim';
import {LeftTrimPipe} from '../../../src/app/pipes/string/ltrim';

describe('LeftTrimPipe Tests', () => {
let pipe:LeftTrimPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {RepeatPipe} from "./repeat";
import {RepeatPipe} from "../../../src/app/pipes/string/repeat";

describe('RepeatPipe Tests', () => {
let pipe:RepeatPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {RightTrimPipe} from './rtrim';
import {RightTrimPipe} from '../../../src/app/pipes/string/rtrim';

describe('RightTrimPipe Tests', () => {
let pipe:RightTrimPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ScanPipe} from "./scan";
import {ScanPipe} from "../../../src/app/pipes/string/scan";

describe('ScanPipe Tests', () => {
let pipe:ScanPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ShortenPipe} from './shorten';
import {ShortenPipe} from '../../../src/app/pipes/string/shorten';

describe('ShortenPipe Tests', () => {
let pipe:ShortenPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {StripTagsPipe} from "./strip-tags";
import {StripTagsPipe} from "../../../src/app/pipes/string/strip-tags";

describe('StripTagsPipe Tests', () => {
let pipe:StripTagsPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {TrimPipe} from './trim';
import {TrimPipe} from '../../../src/app/pipes/string/trim';

describe('TrimPipe Tests', () => {
let pipe:TrimPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {UcFirstPipe} from "./ucfirst";
import {UcFirstPipe} from "../../../src/app/pipes/string/ucfirst";

describe('UcFirstPipe Tests', () => {
let pipe:UcFirstPipe;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {UcWordsPipe} from "./ucwords";
import {UcWordsPipe} from "../../../src/app/pipes/string/ucwords";

describe('UcFirstPipe Tests', () => {
let pipe:UcWordsPipe;
Expand Down

0 comments on commit 24cf238

Please sign in to comment.