From 49340b96f6b3603186e03f0102b99bc4a34a1b63 Mon Sep 17 00:00:00 2001 From: Mohammad Sulaiman Date: Thu, 5 Sep 2024 11:09:09 +0300 Subject: chore: deprecate doc itests (#25452) --- tests/specs/doc/html/__test__.jsonc | 12 ++++++++++++ tests/specs/doc/html/referenced_private_types_fixed.ts | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 tests/specs/doc/html/__test__.jsonc create mode 100644 tests/specs/doc/html/referenced_private_types_fixed.ts (limited to 'tests/specs/doc/html') 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 = {}; +} -- cgit v1.2.3