diff --git a/docs/en/api/mount.md b/docs/en/api/mount.md index 558322981..f7339c258 100644 --- a/docs/en/api/mount.md +++ b/docs/en/api/mount.md @@ -42,7 +42,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/en/api/shallow.md b/docs/en/api/shallow.md index 092382f88..f7ffc6d7c 100644 --- a/docs/en/api/shallow.md +++ b/docs/en/api/shallow.md @@ -51,7 +51,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/fr/api/mount.md b/docs/fr/api/mount.md index f18bf8a2f..1aec6da7b 100644 --- a/docs/fr/api/mount.md +++ b/docs/fr/api/mount.md @@ -44,7 +44,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/fr/api/shallow.md b/docs/fr/api/shallow.md index b32a12e9c..d785eea13 100644 --- a/docs/fr/api/shallow.md +++ b/docs/fr/api/shallow.md @@ -55,7 +55,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/ja/api/mount.md b/docs/ja/api/mount.md index 3b6b5337c..ea8575825 100644 --- a/docs/ja/api/mount.md +++ b/docs/ja/api/mount.md @@ -41,7 +41,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/ja/api/shallow.md b/docs/ja/api/shallow.md index 7a24d55ec..55e07b113 100644 --- a/docs/ja/api/shallow.md +++ b/docs/ja/api/shallow.md @@ -52,7 +52,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/kr/api/mount.md b/docs/kr/api/mount.md index da9709387..ea44f6e65 100644 --- a/docs/kr/api/mount.md +++ b/docs/kr/api/mount.md @@ -43,7 +43,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/kr/api/shallow.md b/docs/kr/api/shallow.md index b0ca51785..352374190 100644 --- a/docs/kr/api/shallow.md +++ b/docs/kr/api/shallow.md @@ -55,7 +55,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/pt-br/api/mount.md b/docs/pt-br/api/mount.md index 0fc3b3996..e2294c11f 100644 --- a/docs/pt-br/api/mount.md +++ b/docs/pt-br/api/mount.md @@ -44,7 +44,7 @@ describe('Foo', () => { cor: 'vermelha' } }) - expect(wrapper.hasProp('cor', 'vermelha')).toBe(true) + expect(wrapper.props().cor).toBe('vermelha') }) }) ``` diff --git a/docs/pt-br/api/shallow.md b/docs/pt-br/api/shallow.md index 901b062a9..1624a5918 100644 --- a/docs/pt-br/api/shallow.md +++ b/docs/pt-br/api/shallow.md @@ -55,7 +55,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/ru/api/mount.md b/docs/ru/api/mount.md index f39398e68..aa7328de0 100644 --- a/docs/ru/api/mount.md +++ b/docs/ru/api/mount.md @@ -42,7 +42,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/ru/api/shallow.md b/docs/ru/api/shallow.md index 55a42b07d..932fe6187 100644 --- a/docs/ru/api/shallow.md +++ b/docs/ru/api/shallow.md @@ -51,7 +51,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/zh-cn/api/mount.md b/docs/zh-cn/api/mount.md index 66caaa2d7..ff3296dc3 100644 --- a/docs/zh-cn/api/mount.md +++ b/docs/zh-cn/api/mount.md @@ -42,7 +42,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ``` diff --git a/docs/zh-cn/api/shallow.md b/docs/zh-cn/api/shallow.md index 5ff2d76d2..d21253cef 100644 --- a/docs/zh-cn/api/shallow.md +++ b/docs/zh-cn/api/shallow.md @@ -51,7 +51,7 @@ describe('Foo', () => { color: 'red' } }) - expect(wrapper.hasProp('color', 'red')).toBe(true) + expect(wrapper.props().color).toBe('red') }) }) ```