summaryrefslogtreecommitdiffstats
path: root/vitest.config.js
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-04-01 20:57:05 +0800
committerGitHub <noreply@github.com>2023-04-01 20:57:05 +0800
commitaa9c9209800e07127065ad296a9d1d4af883ae36 (patch)
tree8feb7e81b5d29e929854d911789e6a5ec325d70e /vitest.config.js
parent9a30b2eafac10f68ee374c9b2ee4b020e33b170e (diff)
downloadgitea-aa9c9209800e07127065ad296a9d1d4af883ae36.tar.gz
gitea-aa9c9209800e07127065ad296a9d1d4af883ae36.zip
Improve action log display with control chars (#23820)
Close #23680 Some CLI programs use "\r" and control chars to print new content in current line. So, the strings in one line are actually from `\rReading...1%\rReading...5%\rReading...100%` This PR tries to make the output better.
Diffstat (limited to 'vitest.config.js')
-rw-r--r--vitest.config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/vitest.config.js b/vitest.config.js
index 37ebfa5722..0cf2996b6e 100644
--- a/vitest.config.js
+++ b/vitest.config.js
@@ -2,6 +2,7 @@ import {defineConfig} from 'vitest/dist/config.js';
import {readFile} from 'node:fs/promises';
import {dataToEsm} from '@rollup/pluginutils';
import {extname} from 'node:path';
+import vue from '@vitejs/plugin-vue';
function stringPlugin() {
return {
@@ -28,5 +29,6 @@ export default defineConfig({
},
plugins: [
stringPlugin(),
+ vue(),
],
});