revert(format): Revert "chore(format): update to latest formatter"
This reverts commit 03627aa84d
.
This commit is contained in:
@ -16,16 +16,16 @@ const LIB_MAP = {
|
||||
ngUpgrade
|
||||
};
|
||||
|
||||
const IGNORE = {
|
||||
captureStackTrace: true,
|
||||
stackTraceLimit: true,
|
||||
toString: true,
|
||||
originalException: true,
|
||||
originalStack: true,
|
||||
wrapperMessage: true,
|
||||
wrapperStack: true,
|
||||
'@@observable': true
|
||||
}
|
||||
const IGNORE =
|
||||
{
|
||||
captureStackTrace: true,
|
||||
stackTraceLimit: true,
|
||||
toString: true,
|
||||
originalException: true,
|
||||
originalStack: true,
|
||||
wrapperMessage: true,
|
||||
wrapperStack: true, '@@observable': true
|
||||
}
|
||||
|
||||
function collectTopLevelSymbols(prefix: string, lib: any):
|
||||
string[] {
|
||||
|
@ -1,4 +1,15 @@
|
||||
import {AsyncTestCompleter, beforeEach, ddescribe, describe, expect, iit, inject, it, xdescribe, xit} from 'angular2/testing_internal';
|
||||
import {
|
||||
AsyncTestCompleter,
|
||||
beforeEach,
|
||||
ddescribe,
|
||||
describe,
|
||||
expect,
|
||||
iit,
|
||||
inject,
|
||||
it,
|
||||
xdescribe,
|
||||
xit
|
||||
} from 'angular2/testing_internal';
|
||||
|
||||
import {IS_DART} from 'angular2/src/facade/lang';
|
||||
import {getSymbolsFromLibrary} from './symbol_inspector';
|
||||
@ -7,19 +18,38 @@ export function main() {
|
||||
describe('symbol inspector', () => {
|
||||
if (IS_DART) {
|
||||
it('should extract symbols (dart)', () => {
|
||||
var symbols = getSymbolsFromLibrary('simple_library');
|
||||
var symbols = getSymbolsFromLibrary("simple_library");
|
||||
expect(symbols).toEqual([
|
||||
'A', 'ClosureParam', 'ClosureReturn', 'ConsParamType', 'FieldType', 'Generic',
|
||||
'GetterType', 'MethodReturnType', 'ParamType', 'SomeInterface', 'StaticFieldType',
|
||||
'TypedefParam', 'TypedefReturnType'
|
||||
'A',
|
||||
'ClosureParam',
|
||||
'ClosureReturn',
|
||||
'ConsParamType',
|
||||
'FieldType',
|
||||
'Generic',
|
||||
'GetterType',
|
||||
'MethodReturnType',
|
||||
'ParamType',
|
||||
'SomeInterface',
|
||||
'StaticFieldType',
|
||||
'TypedefParam',
|
||||
'TypedefReturnType'
|
||||
]);
|
||||
});
|
||||
} else {
|
||||
it('should extract symbols (js)', () => {
|
||||
var symbols = getSymbolsFromLibrary('simple_library');
|
||||
var symbols = getSymbolsFromLibrary("simple_library");
|
||||
expect(symbols).toEqual([
|
||||
'A', 'ClosureParam', 'ClosureReturn', 'ConsParamType', 'FieldType', 'Generic',
|
||||
'GetterType', 'MethodReturnType', 'ParamType', 'StaticFieldType', 'TypedefParam',
|
||||
'A',
|
||||
'ClosureParam',
|
||||
'ClosureReturn',
|
||||
'ConsParamType',
|
||||
'FieldType',
|
||||
'Generic',
|
||||
'GetterType',
|
||||
'MethodReturnType',
|
||||
'ParamType',
|
||||
'StaticFieldType',
|
||||
'TypedefParam',
|
||||
'TypedefReturnType'
|
||||
]);
|
||||
});
|
||||
|
Reference in New Issue
Block a user