From 04474535f313b70012d25ad403613149a4e51098 Mon Sep 17 00:00:00 2001 From: Richard McKenna Date: Sun, 30 Sep 2018 12:10:52 +0100 Subject: [PATCH] Update code example formatting to be consistent Changed the formatting of setData to match the other examples of setData. --- src/v2/cookbook/unit-testing-vue-components.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/v2/cookbook/unit-testing-vue-components.md b/src/v2/cookbook/unit-testing-vue-components.md index 7bdfa5aae2..da10b710a8 100644 --- a/src/v2/cookbook/unit-testing-vue-components.md +++ b/src/v2/cookbook/unit-testing-vue-components.md @@ -57,9 +57,7 @@ test('Foo', () => { expect(wrapper.find('.error').exists()).toBe(true) // update the name to be long enough - wrapper.setData({ - username: 'Lachlan' - }) + wrapper.setData({ username: 'Lachlan' }) // assert the error has gone away expect(wrapper.find('.error').exists()).toBe(false)