@@ -79,3 +79,39 @@ describe('Serializer', () => {
7979 equal ( json , typed ) ;
8080 } ) ;
8181} ) ;
82+
83+ // describe('Converter with excludeNotDocumented=true', function() {
84+ // const base = Path.join(__dirname, 'converter');
85+ // const fixtureDir = Path.join(base, 'exclude-not-documented');
86+ // let app: Application;
87+ //
88+ // before('constructs', function() {
89+ // app = new Application({
90+ // mode: 'Modules',
91+ // logger: 'none',
92+ // target: 'ES5',
93+ // module: 'CommonJS',
94+ // experimentalDecorators: true,
95+ // excludeNotDocumented: true,
96+ // jsx: 'react'
97+ // });
98+ // });
99+ //
100+ // let result: ProjectReflection | undefined;
101+ //
102+ // describe('Exclude not documented symbols', () => {
103+ // it('converts fixtures', function() {
104+ // resetReflectionID();
105+ // result = app.convert(app.expandInputFiles([fixtureDir]));
106+ // Assert(result instanceof ProjectReflection, 'No reflection returned');
107+ // });
108+ //
109+ // it('matches specs', function() {
110+ // const specs = JSON.parse(FS.readFileSync(Path.join(fixtureDir, 'specs-without-undocumented.json')).toString());
111+ // let data = JSON.stringify(result!.toObject(), null, ' ');
112+ // data = data.split(normalizePath(base)).join('%BASE%');
113+ //
114+ // compareReflections(JSON.parse(data), specs);
115+ // });
116+ // });
117+ // });
0 commit comments