From 97e7bd682798e9155ecb0ce4604d1aaf631ba758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=88=B1=E7=A0=81=E5=A3=AB?= Date: Thu, 22 Aug 2024 21:44:54 +0800 Subject: [PATCH] chore(docs): correct the naming convention typo in the test files (#4216) --- docs/src/guide/project/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/guide/project/test.md b/docs/src/guide/project/test.md index ed7f7779..abf3c509 100644 --- a/docs/src/guide/project/test.md +++ b/docs/src/guide/project/test.md @@ -4,7 +4,7 @@ ## 编写测试用例 -在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.spec.ts` 文件, +在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.test.ts` 文件, ```ts // utils.test.ts