Skip to content

Commit

Permalink
Update usage-without-a-build-step-node.md (#1599)
Browse files Browse the repository at this point in the history
line:20  jsdon -> jsdom update
  • Loading branch information
huskyAreYouScared committed Jul 4, 2020
1 parent 0bad046 commit 5eb9ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/guides/usage-without-a-build-step-node.md
Expand Up @@ -17,7 +17,7 @@
现在我们需要引入这些库。这里有一些轻微的注意事项并解释在了如下代码片段的注释中。

```js
// `jsdon-global` 必须在 `@vue/test-utils` 之前被引入,
// `jsdom-global` 必须在 `@vue/test-utils` 之前被引入,
// 因为 `@vue/test-utils` 需要一个已经存在的 DOM 环境 (真实的 DOM 或 JSDOM)
require('jsdom-global')()

Expand Down

0 comments on commit 5eb9ab1

Please sign in to comment.