From 89d51c0ff391077f84a308d0d8b308fa80713103 Mon Sep 17 00:00:00 2001 From: Thada Wangthammang Date: Sat, 17 Feb 2024 11:40:34 +0700 Subject: [PATCH] blog: improve wording of "Mastering Table-Driven Unit Tests in TypeScript" --- ...24-02-17-mastering-table-driven-unit-tests-in-type-script.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contents/posts/2024-02-17-mastering-table-driven-unit-tests-in-type-script.md b/contents/posts/2024-02-17-mastering-table-driven-unit-tests-in-type-script.md index 021d9a3..bcfa474 100644 --- a/contents/posts/2024-02-17-mastering-table-driven-unit-tests-in-type-script.md +++ b/contents/posts/2024-02-17-mastering-table-driven-unit-tests-in-type-script.md @@ -18,7 +18,7 @@ In the realm of TypeScript testing, the concept of table-driven tests shines as Table-driven tests involve structuring test cases in a tabular format, empowering developers to manage and execute tests with remarkable efficiency. This approach proves invaluable, especially when dealing with functions that demand testing across various input-output permutations. ## Unveiling the Power of Table-Driven Tests -Consider the following example to grasp the essence of table-driven testing in TypeScript: +Let's dive into a practical example utilizing Jest/Vitest, a versatile testing framework widely adopted in the JavaScript and TypeScript communities: ```typescript describe('Test getPostDirectory', () => {