From c25d1f7ecc66fc60e525ae20982443b04bfbf5fd Mon Sep 17 00:00:00 2001 From: Marc Laval Date: Tue, 6 Sep 2016 19:24:48 +0200 Subject: [PATCH] test: reactivate the remaining disabled tests in Edge (#11188) Fixes #4756 --- .../common/test/pipes/slice_pipe_spec.ts | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/modules/@angular/common/test/pipes/slice_pipe_spec.ts b/modules/@angular/common/test/pipes/slice_pipe_spec.ts index 74f5789262..c9eb5c751c 100644 --- a/modules/@angular/common/test/pipes/slice_pipe_spec.ts +++ b/modules/@angular/common/test/pipes/slice_pipe_spec.ts @@ -70,19 +70,15 @@ export function main() { expect(pipe.transform(str, 99)).toEqual(''); }); - // Makes Edge to disconnect when running the full unit test campaign - // TODO: remove when issue is solved: https://github.com/angular/angular/issues/4756 - if (!browserDetection.isEdge) { - it('should return entire input if START is negative and greater than input length', () => { - expect(pipe.transform(list, -99)).toEqual([1, 2, 3, 4, 5]); - expect(pipe.transform(str, -99)).toEqual('tuvwxyz'); - }); + it('should return entire input if START is negative and greater than input length', () => { + expect(pipe.transform(list, -99)).toEqual([1, 2, 3, 4, 5]); + expect(pipe.transform(str, -99)).toEqual('tuvwxyz'); + }); - it('should not modify the input list', () => { - expect(pipe.transform(list, 2)).toEqual([3, 4, 5]); - expect(list).toEqual([1, 2, 3, 4, 5]); - }); - } + it('should not modify the input list', () => { + expect(pipe.transform(list, 2)).toEqual([3, 4, 5]); + expect(list).toEqual([1, 2, 3, 4, 5]); + }); });