From cecc5cdd4b33254c26cbd03ab3e800fdd0a949f9 Mon Sep 17 00:00:00 2001 From: tu4mo Date: Wed, 3 Oct 2018 21:08:16 +0300 Subject: [PATCH] Fix inconsistent SFC styling --- docs/guides/dom-events.md | 19 +++++++------ docs/guides/testing-async-components.md | 28 +++++++++---------- ...ngle-file-components-with-mocha-webpack.md | 8 +++--- 3 files changed, 29 insertions(+), 26 deletions(-) diff --git a/docs/guides/dom-events.md b/docs/guides/dom-events.md index 6761f31e7..74cc76737 100644 --- a/docs/guides/dom-events.md +++ b/docs/guides/dom-events.md @@ -37,19 +37,22 @@ wrapper.trigger('click', { button: 0 }) ```html + - ``` **Test** @@ -93,8 +95,9 @@ This component allows to increment/decrement the quantity using various keys. ```html + - ``` **Test** @@ -182,7 +186,6 @@ describe('Key event tests', () => { expect(wrapper.vm.quantity).toBe(13) }) }) - ``` **Limitations** diff --git a/docs/guides/testing-async-components.md b/docs/guides/testing-async-components.md index 1a77155e9..afd442481 100644 --- a/docs/guides/testing-async-components.md +++ b/docs/guides/testing-async-components.md @@ -20,22 +20,22 @@ The below component makes an API call when a button is clicked, then assigns the ``` diff --git a/docs/guides/testing-single-file-components-with-mocha-webpack.md b/docs/guides/testing-single-file-components-with-mocha-webpack.md index dc94d1bed..c4be44b84 100644 --- a/docs/guides/testing-single-file-components-with-mocha-webpack.md +++ b/docs/guides/testing-single-file-components-with-mocha-webpack.md @@ -124,10 +124,10 @@ Create a file in `src` named `Counter.vue`: ``` html