From 9f6b6cc50cd3889053cd2810a558af593629c6c2 Mon Sep 17 00:00:00 2001 From: Yegor Jbanov Date: Thu, 5 Feb 2015 15:58:15 -0800 Subject: [PATCH] chore(packaging): update imports in tools --- tools/transpiler/spec/annotations_spec.js | 4 ++-- tools/transpiler/spec/arrow_functions_spec.js | 2 +- tools/transpiler/spec/classes_spec.js | 2 +- tools/transpiler/spec/cycle_spec.js | 2 +- tools/transpiler/spec/equals_spec.js | 2 +- tools/transpiler/spec/for_of_spec.js | 4 ++-- tools/transpiler/spec/functions_spec.js | 2 +- tools/transpiler/spec/imports_spec.js | 4 ++-- tools/transpiler/spec/instance_of_spec.js | 2 +- tools/transpiler/spec/interfaces_spec.js | 2 +- tools/transpiler/spec/lang_spec.js | 2 +- tools/transpiler/spec/types_spec.js | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/tools/transpiler/spec/annotations_spec.js b/tools/transpiler/spec/annotations_spec.js index 255ab8c86c..13e0e1d7d9 100644 --- a/tools/transpiler/spec/annotations_spec.js +++ b/tools/transpiler/spec/annotations_spec.js @@ -1,6 +1,6 @@ -import {describe, it, expect, iit} from 'test_lib/test_lib'; +import {describe, it, expect, iit} from 'angular2/test_lib'; import {readFirstAnnotation} from './fixtures/annotations'; -import {CONST} from 'facade/src/lang'; +import {CONST} from 'angular2/src/facade/lang'; class Inject {} class Bar {} diff --git a/tools/transpiler/spec/arrow_functions_spec.js b/tools/transpiler/spec/arrow_functions_spec.js index e984b06038..8acad0abc1 100644 --- a/tools/transpiler/spec/arrow_functions_spec.js +++ b/tools/transpiler/spec/arrow_functions_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect} from 'test_lib/test_lib'; +import {describe, it, expect} from 'angular2/test_lib'; var inc = x => x + 1; diff --git a/tools/transpiler/spec/classes_spec.js b/tools/transpiler/spec/classes_spec.js index 67c4d5d6f7..d0e0f7263c 100644 --- a/tools/transpiler/spec/classes_spec.js +++ b/tools/transpiler/spec/classes_spec.js @@ -1,4 +1,4 @@ -import {ddescribe, describe, it, expect} from 'test_lib/test_lib'; +import {ddescribe, describe, it, expect} from 'angular2/test_lib'; import {CONST} from './fixtures/annotations'; class Foo { diff --git a/tools/transpiler/spec/cycle_spec.js b/tools/transpiler/spec/cycle_spec.js index 52f53a9a27..50fa4c743a 100644 --- a/tools/transpiler/spec/cycle_spec.js +++ b/tools/transpiler/spec/cycle_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect} from 'test_lib/test_lib'; +import {describe, it, expect} from 'angular2/test_lib'; import {cycle} from './cycle'; export function main() { diff --git a/tools/transpiler/spec/equals_spec.js b/tools/transpiler/spec/equals_spec.js index 628d3d65df..d296c495ef 100644 --- a/tools/transpiler/spec/equals_spec.js +++ b/tools/transpiler/spec/equals_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect} from 'test_lib/test_lib'; +import {describe, it, expect} from 'angular2/test_lib'; function same(a, b) { return a === b; diff --git a/tools/transpiler/spec/for_of_spec.js b/tools/transpiler/spec/for_of_spec.js index 06c0a34333..d5f70ff0f3 100644 --- a/tools/transpiler/spec/for_of_spec.js +++ b/tools/transpiler/spec/for_of_spec.js @@ -1,5 +1,5 @@ -import {describe, it, expect} from 'test_lib/test_lib'; -import {ListWrapper, MapWrapper} from 'facade/src/collection'; +import {describe, it, expect} from 'angular2/test_lib'; +import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection'; import {IterableList} from './fixtures/facade'; export function main() { diff --git a/tools/transpiler/spec/functions_spec.js b/tools/transpiler/spec/functions_spec.js index ef2f19f33c..c1cd004f8a 100644 --- a/tools/transpiler/spec/functions_spec.js +++ b/tools/transpiler/spec/functions_spec.js @@ -1,4 +1,4 @@ -import {describe, ddescribe, it, iit, expect} from 'test_lib/test_lib'; +import {describe, ddescribe, it, iit, expect} from 'angular2/test_lib'; function sum(a, b) { return a + b; diff --git a/tools/transpiler/spec/imports_spec.js b/tools/transpiler/spec/imports_spec.js index a3bffcbacc..47a329921b 100644 --- a/tools/transpiler/spec/imports_spec.js +++ b/tools/transpiler/spec/imports_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect, IS_DARTIUM} from 'test_lib/test_lib'; +import {describe, it, expect, IS_DARTIUM} from 'angular2/test_lib'; import {Foo, Bar} from './foo'; // TODO: Does not work, as dart does not support renaming imports @@ -7,7 +7,7 @@ import * as fooModule from './foo'; import * as exportModule from './export'; -import {Type} from 'facade/src/lang'; +import {Type} from 'angular2/src/facade/lang'; import {Baz} from './reexport'; diff --git a/tools/transpiler/spec/instance_of_spec.js b/tools/transpiler/spec/instance_of_spec.js index 19753dba46..2f76bc3d45 100644 --- a/tools/transpiler/spec/instance_of_spec.js +++ b/tools/transpiler/spec/instance_of_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect} from 'test_lib/test_lib'; +import {describe, it, expect} from 'angular2/test_lib'; class Foo {} diff --git a/tools/transpiler/spec/interfaces_spec.js b/tools/transpiler/spec/interfaces_spec.js index c88ceff562..0186bd0884 100644 --- a/tools/transpiler/spec/interfaces_spec.js +++ b/tools/transpiler/spec/interfaces_spec.js @@ -1,4 +1,4 @@ -import {ddescribe, describe, it, iit, expect, IS_DARTIUM} from 'test_lib/test_lib'; +import {ddescribe, describe, it, iit, expect, IS_DARTIUM} from 'angular2/test_lib'; import {IMPLEMENTS} from './fixtures/annotations'; class Interface1 { diff --git a/tools/transpiler/spec/lang_spec.js b/tools/transpiler/spec/lang_spec.js index dabfc535e5..cf66f4b47e 100644 --- a/tools/transpiler/spec/lang_spec.js +++ b/tools/transpiler/spec/lang_spec.js @@ -1,4 +1,4 @@ -import {describe, it, expect} from 'test_lib/test_lib'; +import {describe, it, expect} from 'angular2/test_lib'; export function main() { describe('lang', function() { diff --git a/tools/transpiler/spec/types_spec.js b/tools/transpiler/spec/types_spec.js index e416b5f431..0facc5751e 100644 --- a/tools/transpiler/spec/types_spec.js +++ b/tools/transpiler/spec/types_spec.js @@ -1,4 +1,4 @@ -import {describe, xdescribe, it, expect, IS_DARTIUM} from 'test_lib/test_lib'; +import {describe, xdescribe, it, expect, IS_DARTIUM} from 'angular2/test_lib'; class A {} class B {}