From 2dd44d712d7d8dd48aaa643a5818faed159a3e41 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 27 Feb 2019 18:55:36 +0200 Subject: [PATCH] ci(core): fix `legacy-unit-tests-saucelabs` job (#29009) Karma is not configured to retrieve the imported scripts using those absolute deep paths. Using relative paths instead. See [here][1] for an example failing job. [1]: https://circleci.com/gh/angular/angular/220751 PR Close #29009 --- packages/core/test/render3/debug_spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/test/render3/debug_spec.ts b/packages/core/test/render3/debug_spec.ts index a1492993c0..8c2d2540b7 100644 --- a/packages/core/test/render3/debug_spec.ts +++ b/packages/core/test/render3/debug_spec.ts @@ -6,9 +6,9 @@ * found in the LICENSE file at https://angular.io/license */ -import {RenderFlags, defineComponent, elementEnd, elementStart, text} from '@angular/core/src/render3'; -import {getLContext} from '@angular/core/src/render3/context_discovery'; -import {LViewDebug, toDebug} from '@angular/core/src/render3/debug'; +import {getLContext} from '../../src/render3/context_discovery'; +import {LViewDebug, toDebug} from '../../src/render3/debug'; +import {RenderFlags, defineComponent, elementEnd, elementStart, text} from '../../src/render3/index'; import {ComponentFixture} from './render_util'; @@ -39,4 +39,4 @@ describe('Debug Representation', () => { expect(myCompView.nodes ![0].html).toEqual('
'); expect(myCompView.nodes ![0].nodes ![0].html).toEqual('Hello World'); }); -}); \ No newline at end of file +});