From 5c75c036c046df4189627aa75641e4770ce400d3 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Fri, 5 Jan 2024 17:52:42 +0000 Subject: [PATCH] Added a test-stub for the `typescript` module --- tests/unit/utils/typescript/index.spec.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/unit/utils/typescript/index.spec.ts diff --git a/tests/unit/utils/typescript/index.spec.ts b/tests/unit/utils/typescript/index.spec.ts new file mode 100644 index 0000000..cd4ea9e --- /dev/null +++ b/tests/unit/utils/typescript/index.spec.ts @@ -0,0 +1,12 @@ +describe("typescript", () => { + test("assume that everything is fine, until it's not", () => { + // The `typescript` module is only used for code generation during + // TypeScript-to-JavaScript transpilation. Thus, there's no need + // to expend effort testing code that would cause a compilation + // error if something was actually wrong. + // + // Also, this module is far from perfect by design. + // It was created to perform a few very specific tasks, not to serve + // as a drop-in implementation of a TypeScript syntax tree builder. + }); +});