Skip to content
Discussion options

You must be logged in to vote

演示视频中浏览器保持开启是因为运行在 watch 模式下。非 watch 模式在测试结束后会关闭浏览器。

使用 watch 模式即可:

pnpm rstest --watch

The browser stays open in the demo video because it runs in watch mode. In non-watch mode, the browser is closed after the test run finishes.

Use watch mode:

pnpm rstest --watch

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@YanxinTang
Comment options

Answer selected by YanxinTang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants