소스 검색

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

勾三股四 7 년 전
부모
커밋
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', () => {