Skip to content

Commit b449e09

Browse files
committed
test: Update test to work api-extractor-scenarios limitations with regards to tsdoc.jsons
1 parent 70b98ba commit b449e09

File tree

5 files changed

+8
-28
lines changed

5 files changed

+8
-28
lines changed

build-tests/api-extractor-lib3-test/config/api-extractor.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// Disable reporting of `@virtual`, which is reported by default
1010
"@virtual": false,
1111
// Enable reporting of our custom TSDoc tags.
12-
"@customBlockTag": true,
13-
"@customModifierTag": true
12+
"@preapproved": true,
13+
"@betaDocumentation": true
1414
}
1515
},
1616

build-tests/api-extractor-lib3-test/dist/api-extractor-lib3-test.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ import { Lib1Class } from 'api-extractor-lib1-test';
1212
export { Lib1Class }
1313

1414
/**
15-
* @customModifierTag
15+
* @preapproved
1616
* @public
1717
*/
1818
export declare class Lib3Class {
1919
/**
2020
* I am a documented property!
21-
* @customBlockTag My docs include a custom block tag!
21+
* @betaDocumentation My docs include a custom block tag!
2222
* @virtual @override
2323
*/
2424
prop: boolean;

build-tests/api-extractor-lib3-test/etc/api-extractor-lib3-test.api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import { Lib1Class } from 'api-extractor-lib1-test';
88

99
export { Lib1Class }
1010

11-
// @public @customModifierTag (undocumented)
11+
// @public @preapproved (undocumented)
1212
export class Lib3Class {
13-
// @override @customBlockTag
13+
// @override @betaDocumentation
1414
prop: boolean;
1515
}
1616

build-tests/api-extractor-lib3-test/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
export { Lib1Class } from 'api-extractor-lib1-test';
1414

1515
/**
16-
* @customModifierTag
16+
* @preapproved
1717
* @public
1818
*/
1919
export class Lib3Class {
2020
/**
2121
* I am a documented property!
22-
* @customBlockTag My docs include a custom block tag!
22+
* @betaDocumentation My docs include a custom block tag!
2323
* @virtual @override
2424
*/
2525
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility

build-tests/api-extractor-lib3-test/tsdoc.json

-20
This file was deleted.

0 commit comments

Comments
 (0)