ci: collect test coverage on electron (#2335)

This commit is contained in:
Himself65
2023-05-12 09:51:13 +08:00
committed by GitHub
parent 8d117123d7
commit 0fbed5d9d6
5 changed files with 53 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
import { execSync } from 'node:child_process';
import { join } from 'node:path';
export default async function () {
execSync('yarn ts-node-esm scripts/', {
cwd: path.join(__dirname, '..'),
cwd: join(__dirname, '..'),
});
}