diff options
| author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-09-05 11:09:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 08:09:09 +0000 |
| commit | 49340b96f6b3603186e03f0102b99bc4a34a1b63 (patch) | |
| tree | 24a1278efb472a52c58811a62ce9e38bcffc674b /tests/specs/doc/html | |
| parent | dfc5eec43c481b1eeaa0ad069aeba8b7559d4440 (diff) | |
chore: deprecate doc itests (#25452)
Diffstat (limited to 'tests/specs/doc/html')
| -rw-r--r-- | tests/specs/doc/html/__test__.jsonc | 12 | ||||
| -rw-r--r-- | tests/specs/doc/html/referenced_private_types_fixed.ts | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/tests/specs/doc/html/__test__.jsonc b/tests/specs/doc/html/__test__.jsonc new file mode 100644 index 000000000..5114127cd --- /dev/null +++ b/tests/specs/doc/html/__test__.jsonc @@ -0,0 +1,12 @@ +{ + "tempDir": true, + "args": [ + "doc", + "--html", + "--name=MyLib", + "--output=temp_dir_path_here", + "referenced_private_types_fixed.ts" + ], + "output": "[WILDCARD]", + "exitCode": 0 +} diff --git a/tests/specs/doc/html/referenced_private_types_fixed.ts b/tests/specs/doc/html/referenced_private_types_fixed.ts new file mode 100644 index 000000000..cd99bc76e --- /dev/null +++ b/tests/specs/doc/html/referenced_private_types_fixed.ts @@ -0,0 +1,11 @@ +/** Doc comment */ +export interface MyInterface { + /** Doc comment */ + prop?: string; +} + +/** Doc comment */ +export class MyClass { + /** Doc comment */ + prop: MyInterface = {}; +} |
