diff --git a/CHANGELOG.md b/CHANGELOG.md index 329aa0a..0738729 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ All notable changes to the "turbo-console-log" extension will be documented in this file. -# [3.0.6] +# [3.0.7] + +## 功能优化 + +- refactor: 优化打印语句 + +# [3.0.7] ## 新增功能 🌱 diff --git a/package.json b/package.json index 205c385..574c59c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "turbo-print-log", "displayName": "Turbo Console Log for more language", "description": "选中变量,根据不同语言增加一行变量打印日志", - "version": "3.0.7", + "version": "3.0.8", "publisher": "ygqygq2", "engines": { "vscode": "^1.88.0" diff --git a/src/test/unit/debug-message/GeneralDebugMessage.spec.ts b/src/test/unit/debug-message/GeneralDebugMessage.spec.ts index 0259ce2..24ba589 100644 --- a/src/test/unit/debug-message/GeneralDebugMessage.spec.ts +++ b/src/test/unit/debug-message/GeneralDebugMessage.spec.ts @@ -21,6 +21,7 @@ describe('DebugMessage', () => { getSingleLineCommentSymbol: vi.fn().mockReturnValue('//'), getPrintString: vi.fn().mockReturnValue('console.log'), variableToString: vi.fn().mockReturnValue('value'), + getExtraSpace: vi.fn().mockReturnValue(''), getConcatenatedString: vi.fn().mockReturnValue(', '), getPrintStatement: vi.fn().mockReturnValue(`console.log('🚀 ~ test.js: 6 ~ value:', value);`), getLogFunction: vi.fn().mockReturnValue('log'),