Browse Source

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

勾三股四 7 years ago
parent
commit
e22ae2b3ea
1 changed files with 2 additions and 2 deletions
  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
 ``` js
 const state = { ... }
 const state = { ... }
 
 
-// export mutations as a named export
+// export `mutations` as a named export
 export const mutations = { ... }
 export const mutations = { ... }
 
 
 export default new Vuex.Store({
 export default new Vuex.Store({
@@ -32,7 +32,7 @@ export const mutations = {
 import { expect } from 'chai'
 import { expect } from 'chai'
 import { mutations } from './store'
 import { mutations } from './store'
 
 
-// destructure assign mutations
+// destructure assign `mutations`
 const { increment } = mutations
 const { increment } = mutations
 
 
 describe('mutations', () => {
 describe('mutations', () => {