diff --git a/src/test.ts b/src/test.ts index 81af8909..e3e01541 100644 --- a/src/test.ts +++ b/src/test.ts @@ -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. diff --git a/src/app/pipes/array/diff.spec.ts b/test/app/array/diff.spec.ts similarity index 90% rename from src/app/pipes/array/diff.spec.ts rename to test/app/array/diff.spec.ts index 0fb2475c..2057a79e 100644 --- a/src/app/pipes/array/diff.spec.ts +++ b/test/app/array/diff.spec.ts @@ -1,4 +1,4 @@ -import {DiffPipe} from "./diff"; +import {DiffPipe} from '../../../src/app/pipes/array/diff'; describe('DiffPipe', () => { let pipe: DiffPipe; diff --git a/src/app/pipes/array/every.spec.ts b/test/app/array/every.spec.ts similarity index 80% rename from src/app/pipes/array/every.spec.ts rename to test/app/array/every.spec.ts index 37c52b96..37fe49d5 100644 --- a/src/app/pipes/array/every.spec.ts +++ b/test/app/array/every.spec.ts @@ -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; diff --git a/src/app/pipes/array/flatten.spec.ts b/test/app/array/flatten.spec.ts similarity index 90% rename from src/app/pipes/array/flatten.spec.ts rename to test/app/array/flatten.spec.ts index 3dc47986..040f945b 100644 --- a/src/app/pipes/array/flatten.spec.ts +++ b/test/app/array/flatten.spec.ts @@ -1,4 +1,4 @@ -import {FlattenPipe} from "./flatten"; +import {FlattenPipe} from "../../../src/app/pipes/array/flatten"; describe('FlattenPipe', () => { let pipe: FlattenPipe; diff --git a/src/app/pipes/array/initial.spec.ts b/test/app/array/initial.spec.ts similarity index 91% rename from src/app/pipes/array/initial.spec.ts rename to test/app/array/initial.spec.ts index cc610761..b196c59e 100644 --- a/src/app/pipes/array/initial.spec.ts +++ b/test/app/array/initial.spec.ts @@ -1,4 +1,4 @@ -import {InitialPipe} from './initial'; +import {InitialPipe} from '../../../src/app/pipes/array/initial'; describe('InitialPipe', () => { let pipe: InitialPipe; diff --git a/src/app/pipes/array/intersection.spec.ts b/test/app/array/intersection.spec.ts similarity index 90% rename from src/app/pipes/array/intersection.spec.ts rename to test/app/array/intersection.spec.ts index f5995d0a..0d4ff9a9 100644 --- a/src/app/pipes/array/intersection.spec.ts +++ b/test/app/array/intersection.spec.ts @@ -1,4 +1,4 @@ -import {IntersectionPipe} from './intersection'; +import {IntersectionPipe} from '../../../src/app/pipes/array/intersection'; describe('IntersectionPipe', () => { let pipe: IntersectionPipe; diff --git a/src/app/pipes/array/pluck.spec.ts b/test/app/array/pluck.spec.ts similarity index 91% rename from src/app/pipes/array/pluck.spec.ts rename to test/app/array/pluck.spec.ts index 4591017e..77104153 100644 --- a/src/app/pipes/array/pluck.spec.ts +++ b/test/app/array/pluck.spec.ts @@ -1,4 +1,4 @@ -import {PluckPipe} from './pluck'; +import {PluckPipe} from '../../../src/app/pipes/array/pluck'; describe('PluckPipe', () => { let pipe: PluckPipe; diff --git a/src/app/pipes/array/reverse.spec.ts b/test/app/array/reverse.spec.ts similarity index 92% rename from src/app/pipes/array/reverse.spec.ts rename to test/app/array/reverse.spec.ts index 5db7bfc1..6c41fc05 100644 --- a/src/app/pipes/array/reverse.spec.ts +++ b/test/app/array/reverse.spec.ts @@ -1,4 +1,4 @@ -import {ReversePipe} from "./reverse"; +import {ReversePipe} from "../../../src/app/pipes/array/reverse"; describe('ReversePipe', () => { let pipe: ReversePipe; diff --git a/src/app/pipes/array/sample.spec.ts b/test/app/array/sample.spec.ts similarity index 89% rename from src/app/pipes/array/sample.spec.ts rename to test/app/array/sample.spec.ts index 851d4632..038184ce 100644 --- a/src/app/pipes/array/sample.spec.ts +++ b/test/app/array/sample.spec.ts @@ -1,4 +1,4 @@ -import {SamplePipe} from './sample'; +import {SamplePipe} from '../../../src/app/pipes/array/sample'; describe('SamplePipe', () => { let pipe: SamplePipe; diff --git a/src/app/pipes/array/shuffle.spec.ts b/test/app/array/shuffle.spec.ts similarity index 84% rename from src/app/pipes/array/shuffle.spec.ts rename to test/app/array/shuffle.spec.ts index 9d24cd36..5055c403 100644 --- a/src/app/pipes/array/shuffle.spec.ts +++ b/test/app/array/shuffle.spec.ts @@ -1,4 +1,4 @@ -import {ShufflePipe} from './shuffle'; +import {ShufflePipe} from '../../../src/app/pipes/array/shuffle'; describe('ShufflePipe', () => { let pipe: ShufflePipe; diff --git a/src/app/pipes/array/some.spec.ts b/test/app/array/some.spec.ts similarity index 83% rename from src/app/pipes/array/some.spec.ts rename to test/app/array/some.spec.ts index 56184ba7..b1ad01b9 100644 --- a/src/app/pipes/array/some.spec.ts +++ b/test/app/array/some.spec.ts @@ -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; diff --git a/src/app/pipes/array/tail.spec.ts b/test/app/array/tail.spec.ts similarity index 92% rename from src/app/pipes/array/tail.spec.ts rename to test/app/array/tail.spec.ts index 22c9f91e..b1066cfa 100644 --- a/src/app/pipes/array/tail.spec.ts +++ b/test/app/array/tail.spec.ts @@ -1,4 +1,4 @@ -import {TailPipe} from './tail'; +import {TailPipe} from '../../../src/app/pipes/array/tail'; describe('TailPipe', () => { let pipe: TailPipe; diff --git a/src/app/pipes/array/truthify.spec.ts b/test/app/array/truthify.spec.ts similarity index 85% rename from src/app/pipes/array/truthify.spec.ts rename to test/app/array/truthify.spec.ts index db90348c..9232d7a9 100644 --- a/src/app/pipes/array/truthify.spec.ts +++ b/test/app/array/truthify.spec.ts @@ -1,4 +1,4 @@ -import {TrurthifyPipe} from "./truthify"; +import {TrurthifyPipe} from "../../../src/app/pipes/array/truthify"; describe('TrurthifyPipe', () => { let pipe: TrurthifyPipe; diff --git a/src/app/pipes/array/union.spec.ts b/test/app/array/union.spec.ts similarity index 95% rename from src/app/pipes/array/union.spec.ts rename to test/app/array/union.spec.ts index 4cc5f1b6..f1498298 100644 --- a/src/app/pipes/array/union.spec.ts +++ b/test/app/array/union.spec.ts @@ -1,4 +1,4 @@ -import {UnionPipe} from "./union"; +import {UnionPipe} from "../../../src/app/pipes/array/union"; describe('UnionPipe', () => { let pipe: UnionPipe; diff --git a/src/app/pipes/array/unique.spec.ts b/test/app/array/unique.spec.ts similarity index 90% rename from src/app/pipes/array/unique.spec.ts rename to test/app/array/unique.spec.ts index cf5742f7..a7dfb69e 100644 --- a/src/app/pipes/array/unique.spec.ts +++ b/test/app/array/unique.spec.ts @@ -1,4 +1,4 @@ -import {UniquePipe} from "./unique"; +import {UniquePipe} from "../../../src/app/pipes/array/unique"; describe('DiffPipe', () => { let pipe: UniquePipe; diff --git a/src/app/pipes/array/without.spec.ts b/test/app/array/without.spec.ts similarity index 89% rename from src/app/pipes/array/without.spec.ts rename to test/app/array/without.spec.ts index 3951768f..258c5e31 100644 --- a/src/app/pipes/array/without.spec.ts +++ b/test/app/array/without.spec.ts @@ -1,4 +1,4 @@ -import {WithoutPipe} from "./without"; +import {WithoutPipe} from "../../../src/app/pipes/array/without"; describe('WithoutPipe', () => { let pipe: WithoutPipe; diff --git a/src/app/pipes/boolean/is-array.spec.ts b/test/app/boolean/is-array.spec.ts similarity index 89% rename from src/app/pipes/boolean/is-array.spec.ts rename to test/app/boolean/is-array.spec.ts index 011ea5e5..9e2735c1 100644 --- a/src/app/pipes/boolean/is-array.spec.ts +++ b/test/app/boolean/is-array.spec.ts @@ -1,4 +1,4 @@ -import {IsArrayPipe} from "./is-array"; +import {IsArrayPipe} from "../../../src/app/pipes/boolean/is-array"; describe('IsArrayPipe', () => { let pipe: IsArrayPipe; diff --git a/src/app/pipes/boolean/is-defined.spec.ts b/test/app/boolean/is-defined.spec.ts similarity index 85% rename from src/app/pipes/boolean/is-defined.spec.ts rename to test/app/boolean/is-defined.spec.ts index 501e7767..1453a1d1 100644 --- a/src/app/pipes/boolean/is-defined.spec.ts +++ b/test/app/boolean/is-defined.spec.ts @@ -1,4 +1,4 @@ -import {IsDefinedPipe} from "./is-defined"; +import {IsDefinedPipe} from "../../../src/app/pipes/boolean/is-defined"; describe('IsDefinedPipe', () => { let pipe: IsDefinedPipe; diff --git a/src/app/pipes/boolean/is-equal-to.spec.ts b/test/app/boolean/is-equal-to.spec.ts similarity index 83% rename from src/app/pipes/boolean/is-equal-to.spec.ts rename to test/app/boolean/is-equal-to.spec.ts index 240705a5..89a4efad 100644 --- a/src/app/pipes/boolean/is-equal-to.spec.ts +++ b/test/app/boolean/is-equal-to.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-function.spec.ts b/test/app/boolean/is-function.spec.ts similarity index 86% rename from src/app/pipes/boolean/is-function.spec.ts rename to test/app/boolean/is-function.spec.ts index 8b261b8f..42ff25ed 100644 --- a/src/app/pipes/boolean/is-function.spec.ts +++ b/test/app/boolean/is-function.spec.ts @@ -1,4 +1,4 @@ -import {IsFunctionPipe} from "./is-function"; +import {IsFunctionPipe} from "../../../src/app/pipes/boolean/is-function"; describe('IsFunctionPipe', () => { let pipe: IsFunctionPipe; diff --git a/src/app/pipes/boolean/is-greater-equal-than.spec.ts b/test/app/boolean/is-greater-equal-than.spec.ts similarity index 79% rename from src/app/pipes/boolean/is-greater-equal-than.spec.ts rename to test/app/boolean/is-greater-equal-than.spec.ts index 5b179700..40766673 100644 --- a/src/app/pipes/boolean/is-greater-equal-than.spec.ts +++ b/test/app/boolean/is-greater-equal-than.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-greater-than.spec.ts b/test/app/boolean/is-greater-than.spec.ts similarity index 81% rename from src/app/pipes/boolean/is-greater-than.spec.ts rename to test/app/boolean/is-greater-than.spec.ts index e4597261..7d542a64 100644 --- a/src/app/pipes/boolean/is-greater-than.spec.ts +++ b/test/app/boolean/is-greater-than.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-identical-to.spec.ts b/test/app/boolean/is-identical-to.spec.ts similarity index 83% rename from src/app/pipes/boolean/is-identical-to.spec.ts rename to test/app/boolean/is-identical-to.spec.ts index 75d557d7..ac3fc394 100644 --- a/src/app/pipes/boolean/is-identical-to.spec.ts +++ b/test/app/boolean/is-identical-to.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-less-equal-than.spec.ts b/test/app/boolean/is-less-equal-than.spec.ts similarity index 80% rename from src/app/pipes/boolean/is-less-equal-than.spec.ts rename to test/app/boolean/is-less-equal-than.spec.ts index a153ca69..2736f7eb 100644 --- a/src/app/pipes/boolean/is-less-equal-than.spec.ts +++ b/test/app/boolean/is-less-equal-than.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-less-than.spec.ts b/test/app/boolean/is-less-than.spec.ts similarity index 81% rename from src/app/pipes/boolean/is-less-than.spec.ts rename to test/app/boolean/is-less-than.spec.ts index e1e93c35..05291fb2 100644 --- a/src/app/pipes/boolean/is-less-than.spec.ts +++ b/test/app/boolean/is-less-than.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-not-equal-to.spec.ts b/test/app/boolean/is-not-equal-to.spec.ts similarity index 83% rename from src/app/pipes/boolean/is-not-equal-to.spec.ts rename to test/app/boolean/is-not-equal-to.spec.ts index db10afd4..79ad5132 100644 --- a/src/app/pipes/boolean/is-not-equal-to.spec.ts +++ b/test/app/boolean/is-not-equal-to.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-not-identical-to.spec.ts b/test/app/boolean/is-not-identical-to.spec.ts similarity index 82% rename from src/app/pipes/boolean/is-not-identical-to.spec.ts rename to test/app/boolean/is-not-identical-to.spec.ts index 4533ae5c..2fb898e0 100644 --- a/src/app/pipes/boolean/is-not-identical-to.spec.ts +++ b/test/app/boolean/is-not-identical-to.spec.ts @@ -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; diff --git a/src/app/pipes/boolean/is-null.spec.ts b/test/app/boolean/is-null.spec.ts similarity index 86% rename from src/app/pipes/boolean/is-null.spec.ts rename to test/app/boolean/is-null.spec.ts index 3e82036c..aca3ca66 100644 --- a/src/app/pipes/boolean/is-null.spec.ts +++ b/test/app/boolean/is-null.spec.ts @@ -1,4 +1,4 @@ -import {IsNullPipe} from "./is-null"; +import {IsNullPipe} from "../../../src/app/pipes/boolean/is-null"; describe('IsNullPipe', () => { let pipe: IsNullPipe; diff --git a/src/app/pipes/boolean/is-number.spec.ts b/test/app/boolean/is-number.spec.ts similarity index 89% rename from src/app/pipes/boolean/is-number.spec.ts rename to test/app/boolean/is-number.spec.ts index 63524730..c812b118 100644 --- a/src/app/pipes/boolean/is-number.spec.ts +++ b/test/app/boolean/is-number.spec.ts @@ -1,4 +1,4 @@ -import {IsNumberPipe} from "./is-number"; +import {IsNumberPipe} from "../../../src/app/pipes/boolean/is-number"; describe('IsNumberPipe', () => { let pipe: IsNumberPipe; diff --git a/src/app/pipes/boolean/is-object.spec.ts b/test/app/boolean/is-object.spec.ts similarity index 90% rename from src/app/pipes/boolean/is-object.spec.ts rename to test/app/boolean/is-object.spec.ts index 1924a659..e5c1ee43 100644 --- a/src/app/pipes/boolean/is-object.spec.ts +++ b/test/app/boolean/is-object.spec.ts @@ -1,4 +1,4 @@ -import {IsObjectPipe} from "./is-object"; +import {IsObjectPipe} from "../../../src/app/pipes/boolean/is-object"; describe('IsObjectPipe', () => { let pipe: IsObjectPipe; diff --git a/src/app/pipes/boolean/is-string.spec.ts b/test/app/boolean/is-string.spec.ts similarity index 87% rename from src/app/pipes/boolean/is-string.spec.ts rename to test/app/boolean/is-string.spec.ts index 1ce112a5..70600f42 100644 --- a/src/app/pipes/boolean/is-string.spec.ts +++ b/test/app/boolean/is-string.spec.ts @@ -1,4 +1,4 @@ -import {IsStringPipe} from "./is-string"; +import {IsStringPipe} from "../../../src/app/pipes/boolean/is-string"; describe('IsStringPipe', () => { let pipe: IsStringPipe; diff --git a/src/app/pipes/boolean/is-undefined.spec.ts b/test/app/boolean/is-undefined.spec.ts similarity index 84% rename from src/app/pipes/boolean/is-undefined.spec.ts rename to test/app/boolean/is-undefined.spec.ts index a8c0afa7..4a6fcb13 100644 --- a/src/app/pipes/boolean/is-undefined.spec.ts +++ b/test/app/boolean/is-undefined.spec.ts @@ -1,4 +1,4 @@ -import {IsUndefinedPipe} from "./is-undefined"; +import {IsUndefinedPipe} from "../../../src/app/pipes/boolean/is-undefined"; describe('IsUndefinedPipe', () => { let pipe: IsUndefinedPipe; diff --git a/src/app/pipes/helpers/helpers.spec.ts b/test/app/helpers/helpers.spec.ts similarity index 90% rename from src/app/pipes/helpers/helpers.spec.ts rename to test/app/helpers/helpers.spec.ts index 26082eaf..4dd8404c 100644 --- a/src/app/pipes/helpers/helpers.spec.ts +++ b/test/app/helpers/helpers.spec.ts @@ -1,4 +1,4 @@ -import {extractProperty} from './helpers'; +import {extractProperty} from '../../../src/app/pipes/helpers/helpers'; describe('Utils Tests', () => { diff --git a/src/app/pipes/math/bytes.spec.ts b/test/app/math/bytes.spec.ts similarity index 90% rename from src/app/pipes/math/bytes.spec.ts rename to test/app/math/bytes.spec.ts index fc7c6782..f6622e48 100644 --- a/src/app/pipes/math/bytes.spec.ts +++ b/test/app/math/bytes.spec.ts @@ -1,4 +1,4 @@ -import {BytesPipe} from './bytes'; +import {BytesPipe} from '../../../src/app/pipes/math/bytes'; describe('BytesPipe', () => { let pipe: BytesPipe; diff --git a/src/app/pipes/math/ceil.spec.ts b/test/app/math/ceil.spec.ts similarity index 87% rename from src/app/pipes/math/ceil.spec.ts rename to test/app/math/ceil.spec.ts index 2b432feb..e208e4e8 100644 --- a/src/app/pipes/math/ceil.spec.ts +++ b/test/app/math/ceil.spec.ts @@ -1,4 +1,4 @@ -import {CeilPipe} from "./ceil"; +import {CeilPipe} from "../../../src/app/pipes/math/ceil"; describe('CeilPipe', () => { let pipe: CeilPipe; diff --git a/src/app/pipes/math/degrees.spec.ts b/test/app/math/degrees.spec.ts similarity index 86% rename from src/app/pipes/math/degrees.spec.ts rename to test/app/math/degrees.spec.ts index 3d8686c3..33744881 100644 --- a/src/app/pipes/math/degrees.spec.ts +++ b/test/app/math/degrees.spec.ts @@ -1,4 +1,4 @@ -import {DegreesPipe} from "./degrees"; +import {DegreesPipe} from "../../../src/app/pipes/math/degrees"; describe('DegreesPipe', () => { let pipe: DegreesPipe; diff --git a/src/app/pipes/math/floor.spec.ts b/test/app/math/floor.spec.ts similarity index 88% rename from src/app/pipes/math/floor.spec.ts rename to test/app/math/floor.spec.ts index 1b79b90e..eaa6e71c 100644 --- a/src/app/pipes/math/floor.spec.ts +++ b/test/app/math/floor.spec.ts @@ -1,4 +1,4 @@ -import {FloorPipe} from "./floor"; +import {FloorPipe} from "../../../src/app/pipes/math/floor"; describe('FloorPipe', () => { let pipe: FloorPipe; diff --git a/src/app/pipes/math/max.spec.ts b/test/app/math/max.spec.ts similarity index 86% rename from src/app/pipes/math/max.spec.ts rename to test/app/math/max.spec.ts index 31fd497c..4e1bd294 100644 --- a/src/app/pipes/math/max.spec.ts +++ b/test/app/math/max.spec.ts @@ -1,4 +1,4 @@ -import {MaxPipe} from "./max"; +import {MaxPipe} from "../../../src/app/pipes/math/max"; describe('MaxPipe', () => { let pipe: MaxPipe; diff --git a/src/app/pipes/math/min.spec.ts b/test/app/math/min.spec.ts similarity index 86% rename from src/app/pipes/math/min.spec.ts rename to test/app/math/min.spec.ts index f443b283..88da248c 100644 --- a/src/app/pipes/math/min.spec.ts +++ b/test/app/math/min.spec.ts @@ -1,4 +1,4 @@ -import {MinPipe} from "./min"; +import {MinPipe} from "../../../src/app/pipes/math/min"; describe('MinPipe', () => { let pipe: MinPipe; diff --git a/src/app/pipes/math/percent.spec.ts b/test/app/math/percent.spec.ts similarity index 82% rename from src/app/pipes/math/percent.spec.ts rename to test/app/math/percent.spec.ts index 6cd17d0d..951e3ef7 100644 --- a/src/app/pipes/math/percent.spec.ts +++ b/test/app/math/percent.spec.ts @@ -1,4 +1,4 @@ -import {PercentagePipe} from './percentage'; +import {PercentagePipe} from '../../../src/app/pipes/math/percentage'; describe('PercentagePipe', () => { let pipe: PercentagePipe; diff --git a/src/app/pipes/math/pow.spec.ts b/test/app/math/pow.spec.ts similarity index 85% rename from src/app/pipes/math/pow.spec.ts rename to test/app/math/pow.spec.ts index e801ca75..e7d21bfb 100644 --- a/src/app/pipes/math/pow.spec.ts +++ b/test/app/math/pow.spec.ts @@ -1,4 +1,4 @@ -import {PowerPipe} from "./pow"; +import {PowerPipe} from "../../../src/app/pipes/math/pow"; describe('PowerPipe', () => { let pipe: PowerPipe; diff --git a/src/app/pipes/math/radians.spec.ts b/test/app/math/radians.spec.ts similarity index 86% rename from src/app/pipes/math/radians.spec.ts rename to test/app/math/radians.spec.ts index f980406f..c1e9d656 100644 --- a/src/app/pipes/math/radians.spec.ts +++ b/test/app/math/radians.spec.ts @@ -1,4 +1,4 @@ -import {RadiansPipe} from "./radians"; +import {RadiansPipe} from "../../../src/app/pipes/math/radians"; describe('RadiansPipe', () => { let pipe: RadiansPipe; diff --git a/src/app/pipes/math/round.spec.ts b/test/app/math/round.spec.ts similarity index 88% rename from src/app/pipes/math/round.spec.ts rename to test/app/math/round.spec.ts index 1b6e556c..411b936b 100644 --- a/src/app/pipes/math/round.spec.ts +++ b/test/app/math/round.spec.ts @@ -1,4 +1,4 @@ -import {RoundPipe} from "./round"; +import {RoundPipe} from "../../../src/app/pipes/math/round"; describe('RoundPipe', () => { let pipe: RoundPipe; diff --git a/src/app/pipes/math/sqrt.spec.ts b/test/app/math/sqrt.spec.ts similarity index 83% rename from src/app/pipes/math/sqrt.spec.ts rename to test/app/math/sqrt.spec.ts index 91e090b9..780d4fbb 100644 --- a/src/app/pipes/math/sqrt.spec.ts +++ b/test/app/math/sqrt.spec.ts @@ -1,4 +1,4 @@ -import {SqrtPipe} from "./sqrt"; +import {SqrtPipe} from "../../../src/app/pipes/math/sqrt"; describe('SqrtPipe', () => { let pipe: SqrtPipe; diff --git a/src/app/pipes/math/sum.spec.ts b/test/app/math/sum.spec.ts similarity index 86% rename from src/app/pipes/math/sum.spec.ts rename to test/app/math/sum.spec.ts index c8df4f16..73009595 100644 --- a/src/app/pipes/math/sum.spec.ts +++ b/test/app/math/sum.spec.ts @@ -1,4 +1,4 @@ -import {SumPipe} from "./sum"; +import {SumPipe} from "../../../src/app/pipes/math/sum"; describe('SumPipe', () => { let pipe: SumPipe; diff --git a/src/app/pipes/string/ltrim.spec.ts b/test/app/string/ltrim.spec.ts similarity index 87% rename from src/app/pipes/string/ltrim.spec.ts rename to test/app/string/ltrim.spec.ts index ef36f8bc..ba4b0e2b 100644 --- a/src/app/pipes/string/ltrim.spec.ts +++ b/test/app/string/ltrim.spec.ts @@ -1,4 +1,4 @@ -import {LeftTrimPipe} from './ltrim'; +import {LeftTrimPipe} from '../../../src/app/pipes/string/ltrim'; describe('LeftTrimPipe Tests', () => { let pipe:LeftTrimPipe; diff --git a/src/app/pipes/string/repeat.spec.ts b/test/app/string/repeat.spec.ts similarity index 91% rename from src/app/pipes/string/repeat.spec.ts rename to test/app/string/repeat.spec.ts index 3c3b1e43..d28a4ca7 100644 --- a/src/app/pipes/string/repeat.spec.ts +++ b/test/app/string/repeat.spec.ts @@ -1,4 +1,4 @@ -import {RepeatPipe} from "./repeat"; +import {RepeatPipe} from "../../../src/app/pipes/string/repeat"; describe('RepeatPipe Tests', () => { let pipe:RepeatPipe; diff --git a/src/app/pipes/string/rtrim.spec.ts b/test/app/string/rtrim.spec.ts similarity index 87% rename from src/app/pipes/string/rtrim.spec.ts rename to test/app/string/rtrim.spec.ts index f8f44315..f9c95600 100644 --- a/src/app/pipes/string/rtrim.spec.ts +++ b/test/app/string/rtrim.spec.ts @@ -1,4 +1,4 @@ -import {RightTrimPipe} from './rtrim'; +import {RightTrimPipe} from '../../../src/app/pipes/string/rtrim'; describe('RightTrimPipe Tests', () => { let pipe:RightTrimPipe; diff --git a/src/app/pipes/string/scan.spec.ts b/test/app/string/scan.spec.ts similarity index 94% rename from src/app/pipes/string/scan.spec.ts rename to test/app/string/scan.spec.ts index 727d6869..9d3b16b0 100644 --- a/src/app/pipes/string/scan.spec.ts +++ b/test/app/string/scan.spec.ts @@ -1,4 +1,4 @@ -import {ScanPipe} from "./scan"; +import {ScanPipe} from "../../../src/app/pipes/string/scan"; describe('ScanPipe Tests', () => { let pipe:ScanPipe; diff --git a/src/app/pipes/string/shorten.spec.ts b/test/app/string/shorten.spec.ts similarity index 94% rename from src/app/pipes/string/shorten.spec.ts rename to test/app/string/shorten.spec.ts index 489396c3..184cd397 100644 --- a/src/app/pipes/string/shorten.spec.ts +++ b/test/app/string/shorten.spec.ts @@ -1,4 +1,4 @@ -import {ShortenPipe} from './shorten'; +import {ShortenPipe} from '../../../src/app/pipes/string/shorten'; describe('ShortenPipe Tests', () => { let pipe:ShortenPipe; diff --git a/src/app/pipes/string/strip-tags.spec.ts b/test/app/string/strip-tags.spec.ts similarity index 91% rename from src/app/pipes/string/strip-tags.spec.ts rename to test/app/string/strip-tags.spec.ts index 96dd34b0..cfe91937 100644 --- a/src/app/pipes/string/strip-tags.spec.ts +++ b/test/app/string/strip-tags.spec.ts @@ -1,4 +1,4 @@ -import {StripTagsPipe} from "./strip-tags"; +import {StripTagsPipe} from "../../../src/app/pipes/string/strip-tags"; describe('StripTagsPipe Tests', () => { let pipe:StripTagsPipe; diff --git a/src/app/pipes/string/trim.spec.ts b/test/app/string/trim.spec.ts similarity index 87% rename from src/app/pipes/string/trim.spec.ts rename to test/app/string/trim.spec.ts index 8bf77da2..44346bff 100644 --- a/src/app/pipes/string/trim.spec.ts +++ b/test/app/string/trim.spec.ts @@ -1,4 +1,4 @@ -import {TrimPipe} from './trim'; +import {TrimPipe} from '../../../src/app/pipes/string/trim'; describe('TrimPipe Tests', () => { let pipe:TrimPipe; diff --git a/src/app/pipes/string/ucfirst.spec.ts b/test/app/string/ucfirst.spec.ts similarity index 87% rename from src/app/pipes/string/ucfirst.spec.ts rename to test/app/string/ucfirst.spec.ts index 0216ed0c..07d03651 100644 --- a/src/app/pipes/string/ucfirst.spec.ts +++ b/test/app/string/ucfirst.spec.ts @@ -1,4 +1,4 @@ -import {UcFirstPipe} from "./ucfirst"; +import {UcFirstPipe} from "../../../src/app/pipes/string/ucfirst"; describe('UcFirstPipe Tests', () => { let pipe:UcFirstPipe; diff --git a/src/app/pipes/string/ucwords.spec.ts b/test/app/string/ucwords.spec.ts similarity index 88% rename from src/app/pipes/string/ucwords.spec.ts rename to test/app/string/ucwords.spec.ts index 84cdd65c..38b86c5a 100644 --- a/src/app/pipes/string/ucwords.spec.ts +++ b/test/app/string/ucwords.spec.ts @@ -1,4 +1,4 @@ -import {UcWordsPipe} from "./ucwords"; +import {UcWordsPipe} from "../../../src/app/pipes/string/ucwords"; describe('UcFirstPipe Tests', () => { let pipe:UcWordsPipe;