Skip to content

Update render.md #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/test-utils/render.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ await createApp()
该 api 主要用于测试**完整应用的表现功能**,从入口开始进行渲染。
将会根据 Taro 项目入口进行应用渲染,读取`app.config.(ts|js)`配置内容,包括如 router 相关信息。

⚠️ **注意:这与真实表现可能存在差异,因为 createApp 为运行时渲染,而非渲染编译产物,所以一些编译插件对运行时的影响降无效**
⚠️ **注意:这与真实表现可能存在差异,因为 createApp 为运行时渲染,而非渲染编译产物,所以一些编译插件对运行时的影响将无效**

```js
test('createApp', async () => {
Expand Down