From 2dc78ae480407bcccd8bc3a384165b4008edd4c1 Mon Sep 17 00:00:00 2001 From: Marco Leong Date: Wed, 6 Mar 2019 16:41:29 +0800 Subject: [PATCH 1/2] Update README.md mounting options in wrapper is `attachToDocument` --- docs/api/wrapper/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/wrapper/README.md b/docs/api/wrapper/README.md index 3718cc9e0..6e726f624 100644 --- a/docs/api/wrapper/README.md +++ b/docs/api/wrapper/README.md @@ -18,7 +18,7 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods #### `options.attachedToDocument` -`Boolean` (read-only): True if `attachedToDocument` in mounting options was `true` +`Boolean` (read-only): True if `attachToDocument` in mounting options was `true` #### `options.sync` From 1739b4f6755bd51f5fba1d211fffeb6cfa6c875b Mon Sep 17 00:00:00 2001 From: Marco Leong Date: Thu, 7 Mar 2019 23:06:01 +0800 Subject: [PATCH 2/2] Update on ja, ru and zh docs --- docs/ja/api/wrapper/README.md | 2 +- docs/ru/api/wrapper/README.md | 2 +- docs/zh/api/wrapper/README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ja/api/wrapper/README.md b/docs/ja/api/wrapper/README.md index 5fed930a0..6953dbd04 100644 --- a/docs/ja/api/wrapper/README.md +++ b/docs/ja/api/wrapper/README.md @@ -18,7 +18,7 @@ vue-test-utils はラッパベースの API です。 #### `options.attachedToDocument` -`Boolean` (読み込み専用): マウンティングオプションで `attachedToDocument` が `true` だった場合は True です。 +`Boolean` (読み込み専用): マウンティングオプションで `attachToDocument` が `true` だった場合は True です。 #### `options.sync` diff --git a/docs/ru/api/wrapper/README.md b/docs/ru/api/wrapper/README.md index c6d113fd4..5ce78c011 100644 --- a/docs/ru/api/wrapper/README.md +++ b/docs/ru/api/wrapper/README.md @@ -18,7 +18,7 @@ Vue Test Utils — это API основанное на использовани #### `options.attachedToDocument` -`Boolean` (только для чтения): True, если `attachedToDocument` в опциях монтирования было `true` +`Boolean` (только для чтения): True, если `attachToDocument` в опциях монтирования было `true` #### `options.sync` diff --git a/docs/zh/api/wrapper/README.md b/docs/zh/api/wrapper/README.md index 860c1d9d6..cb9a34923 100644 --- a/docs/zh/api/wrapper/README.md +++ b/docs/zh/api/wrapper/README.md @@ -16,9 +16,9 @@ Vue Test Utils 是一个基于包裹器的 API。 ### `options` -#### `options.attachedToDom` +#### `options.attachedToDocument` -`Boolean` (只读):如果 `attachToDom` 传递给了 `mount` 或 `shallowMount` 则为真 +`Boolean` (只读):如果 `attachToDocument` 传递给了 `mount` 或 `shallowMount` 则为真 #### `options.sync`