Skip to content

Commit c3f94b6

Browse files
authored
Merge pull request #4118 from Juemuren/fix-zh-part5d
update zh/part5: synchronized changes in english material
2 parents 9adb46e + a98b8fc commit c3f94b6

File tree

5 files changed

+551
-667
lines changed

5 files changed

+551
-667
lines changed

src/content/5/zh/part5.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,18 @@ lang: zh
77
<div class="intro">
88

99
<!-- In this part we return to the frontend, first looking at different possibilities for testing the React code. We will also implement token based authentication which will enable users to log in to our application.-->
10-
在这一部分,我们回到前端,首先看一下测试React代码的不同可能性。 我们还将实现基于令牌的认证,这将使用户能够登录到我们的应用
10+
在这一部分,我们回到前端,首先看一下测试React代码的不同可能性。我们还将实现基于令牌的认证,这将使用户能够登录到我们的应用
1111

12-
<!-- <i>Part updated 3rd March 2024</i>
13-
- <i>Jest replaced by Vitests</i>
14-
- <i>Brought alongside Cypress as an alternative for Playwright End to end testing</i> -->
15-
<i>2024年3月3日部分更新</i>
16-
- <i>Jest被Vitests取代</i>
17-
- <i>将Cypress与Playwright并列,作为一个端到端测试的替代方案</i>
12+
<!-- <i>Section updated 21st August 2025</i>
13+
14+
- <i>React version updated from v18 to v19. PropTypes and forwardRef has deprecated</i>
15+
- <i>A label element has been added to the login form fields and used later in tests to identify the fields</i>
16+
- <i>.eslintrc.cjs replaced with eslint.config.js file</i>
17+
- <i>.eslintignore replaced with configuration in eslint.config.js</i> -->
18+
<i>2025年8月21日更新</i>
19+
- <i>React 版本从 v18 更新到 v19。PropTypes 和 forwardRef 已被弃用。</i>
20+
- <i>在登录表单字段中添加了一个 label 元素,并在后续测试中用于识别字段</i>
21+
- <i>.eslintrc.cjs 被替换为 eslint.config.js 文件</i>
22+
- <i>.eslintignore 被替换为 eslint.config.js 中的配置</i>
1823

1924
</div>

0 commit comments

Comments
 (0)