Skip to content

Commit 46af261

Browse files
committed
Format code
1 parent f0bc7a6 commit 46af261

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

test/unit/specs/VueCodemirror.spec.js

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,16 @@ describe('vue-codemirror', () => {
141141
const eventLogs = []
142142
const vm = new Vue({
143143
template: `<div>
144-
<codemirror ref="cm"
145-
:value="code"
146-
:options="{ mode: 'text/javascript' }"
147-
@blur="onCmBlur"
148-
@focus="onCmFocus"
149-
@ready="onCmReady"
150-
@change="onCmChange"
151-
@input="onCmInput">
152-
</codemirror>
144+
<codemirror
145+
ref="cm"
146+
:value="code"
147+
:options="{ mode: 'text/javascript' }"
148+
@blur="onCmBlur"
149+
@focus="onCmFocus"
150+
@ready="onCmReady"
151+
@change="onCmChange"
152+
@input="onCmInput"
153+
/>
153154
</div>
154155
`,
155156
data: {
@@ -203,11 +204,12 @@ describe('vue-codemirror', () => {
203204
const vm = new Vue({
204205
template: `
205206
<div>
206-
<codemirror ref="cm"
207-
v-model="code"
208-
:events="events"
209-
@custom="onCustom">
210-
</codemirror>
207+
<codemirror
208+
ref="cm"
209+
v-model="code"
210+
:events="events"
211+
@custom="onCustom"
212+
/>
211213
</div>
212214
`,
213215
data: {
@@ -242,11 +244,12 @@ describe('vue-codemirror', () => {
242244
const eventLogs = []
243245
const vm = new Vue({
244246
template: `<div>
245-
<vue-codemirror ref="cm"
246-
v-model="code"
247-
:options="cmOption"
248-
@ready="onCmReady">
249-
</vue-codemirror>
247+
<vue-codemirror
248+
ref="cm"
249+
v-model="code"
250+
:options="cmOption"
251+
@ready="onCmReady"
252+
/>
250253
</div>
251254
`,
252255
components: {

0 commit comments

Comments
 (0)