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
This commit is contained in:
George Kalpakas 2019-02-27 18:55:36 +02:00 committed by Ben Lesh
parent f16fca41d6
commit 2dd44d712d
1 changed files with 4 additions and 4 deletions

View File

@ -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('<div id="123">');
expect(myCompView.nodes ![0].nodes ![0].html).toEqual('Hello World');
});
});
});