Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 97e7bd68
authored
Aug 22, 2024
by
前端爱码士
Committed by
GitHub
Aug 22, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chore(docs): correct the naming convention typo in the test files (#4216)
1 parent
08265262
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
docs/src/guide/project/test.md
docs/src/guide/project/test.md
View file @
97e7bd6
...
...
@@ -4,7 +4,7 @@
## 编写测试用例
在项目中,我们约定将测试文件名以
`.test.ts`
结尾,或者存放到
`__tests__`
目录内。例如,创建一个
`utils.ts`
文件,然后同级目录
`utils.
spec
.ts`
文件,
在项目中,我们约定将测试文件名以
`.test.ts`
结尾,或者存放到
`__tests__`
目录内。例如,创建一个
`utils.ts`
文件,然后同级目录
`utils.
test
.ts`
文件,
```
ts
// utils.test.ts
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment