diff --git a/lib/reports/raw.js b/lib/reports/raw.js index 2b92241..873da84 100644 --- a/lib/reports/raw.js +++ b/lib/reports/raw.js @@ -42,6 +42,8 @@ const rawReport = (reportData, reportOptions, options) => { // remove raw files after zip Util.rmSync(rawDir); + resolve(); + // console.log('done'); }); const list = fs.readdirSync(rawDir); diff --git a/test/snapshot/cli.snapshot.json b/test/snapshot/cli.snapshot.json index c2cecff..05becc6 100644 --- a/test/snapshot/cli.snapshot.json +++ b/test/snapshot/cli.snapshot.json @@ -1,11 +1,11 @@ { "type": "v8", "summary": { - "bytes": "54.91 %", - "statements": "57.37 %", + "bytes": "54.66 %", + "statements": "57.07 %", "branches": "52.42 %", - "functions": "51.58 %", - "lines": "46.29 %" + "functions": "51.04 %", + "lines": "46.08 %" }, "files": { "test/mock/node/lib/app.js": { @@ -277,6 +277,15 @@ "bytes": "0.00 %", "uncoveredLines": "1-15", "extras": "6b,10b,16b" + }, + "test/mock/src/untest/中文.js": { + "functions": "0.00 %", + "branches": "", + "statements": "0.00 %", + "lines": "0.00 %", + "bytes": "0.00 %", + "uncoveredLines": "2-7", + "extras": "1c,3b,5c,8b" } } } \ No newline at end of file