chore(build): run forms tests in Node

Closes #1565
This commit is contained in:
Marc Laval 2015-04-28 00:23:39 +02:00
parent e3c11045bf
commit a51a5c2968
3 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,11 @@
import {View, Component, Decorator, Ancestor, onChange, ElementRef} from 'angular2/angular2'; import {Decorator, onChange} from 'angular2/src/core/annotations/annotations';
import {Ancestor} from 'angular2/src/core/annotations/visibility';
import {ElementRef} from 'angular2/src/core/compiler/element_injector';
import {Optional} from 'angular2/di'; import {Optional} from 'angular2/di';
import {Renderer} from 'angular2/src/render/api'; import {Renderer} from 'angular2/src/render/api';
import {isBlank, isPresent, isString, CONST} from 'angular2/src/facade/lang'; import {isPresent, isString} from 'angular2/src/facade/lang';
import {StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection'; import {ListWrapper} from 'angular2/src/facade/collection';
import {ControlGroup, Control} from './model'; import {ControlGroup} from './model';
import {Validators} from './validators'; import {Validators} from './validators';
//export interface ControlValueAccessor { //export interface ControlValueAccessor {

View File

@ -1,5 +1,4 @@
import {Decorator} from 'angular2/angular2'; import {Decorator} from 'angular2/src/core/annotations/annotations';
import {Validators} from './validators'; import {Validators} from './validators';
import {ControlDirective} from './directives'; import {ControlDirective} from './directives';

View File

@ -23,8 +23,7 @@ module.exports = function makeNodeTree(destinationPath) {
exclude: [ exclude: [
// the following code and tests are not compatible with CJS/node environment // the following code and tests are not compatible with CJS/node environment
'angular2/src/core/zone/vm_turn_zone.es6', 'angular2/src/core/zone/vm_turn_zone.es6',
'angular2/test/core/zone/**', 'angular2/test/core/zone/**'
'angular2/test/forms/integration_spec.js'
] ]
}); });