1
0
Эх сурвалжийг харах

[en] updated some format of code comment (#962)

勾三股四 7 жил өмнө
parent
commit
e22ae2b3ea
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      docs/en/testing.md

+ 2 - 2
docs/en/testing.md

@@ -9,7 +9,7 @@ Mutations are very straightforward to test, because they are just functions that
 ``` js
 const state = { ... }
 
-// export mutations as a named export
+// export `mutations` as a named export
 export const mutations = { ... }
 
 export default new Vuex.Store({
@@ -32,7 +32,7 @@ export const mutations = {
 import { expect } from 'chai'
 import { mutations } from './store'
 
-// destructure assign mutations
+// destructure assign `mutations`
 const { increment } = mutations
 
 describe('mutations', () => {