Skip to content

Commit

Permalink
chore(docs): correct the naming convention typo in the test files (#4216
Browse files Browse the repository at this point in the history
)
  • Loading branch information
a63149300 authored Aug 22, 2024
1 parent 0826526 commit 97e7bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/guide/project/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## 编写测试用例

在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.spec.ts` 文件,
在项目中,我们约定将测试文件名以 `.test.ts` 结尾,或者存放到`__tests__`目录内。例如,创建一个 `utils.ts` 文件,然后同级目录`utils.test.ts` 文件,

```ts
// utils.test.ts
Expand Down

0 comments on commit 97e7bd6

Please sign in to comment.