Use Signal tokenizer in FTS5
This commit is contained in:
parent
28a295d4e1
commit
2637df0c42
6 changed files with 74 additions and 15 deletions
|
@ -13,15 +13,23 @@ const ELECTRON = join(
|
|||
process.platform === 'win32' ? 'electron.cmd' : 'electron'
|
||||
);
|
||||
|
||||
const stdout = execFileSync(ELECTRON, [ROOT_DIR], {
|
||||
cwd: ROOT_DIR,
|
||||
env: {
|
||||
...process.env,
|
||||
NODE_ENV: 'test',
|
||||
TEST_QUIT_ON_COMPLETE: 'on',
|
||||
},
|
||||
encoding: 'utf8',
|
||||
});
|
||||
let stdout: string;
|
||||
try {
|
||||
stdout = execFileSync(ELECTRON, [ROOT_DIR], {
|
||||
cwd: ROOT_DIR,
|
||||
env: {
|
||||
...process.env,
|
||||
NODE_ENV: 'test',
|
||||
TEST_QUIT_ON_COMPLETE: 'on',
|
||||
},
|
||||
encoding: 'utf8',
|
||||
});
|
||||
} catch (error) {
|
||||
console.error('Status', error.status);
|
||||
console.error(error.output[0] ?? '');
|
||||
console.error(error.output[1] ?? '');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
const match = stdout.match(/ci:test-electron:done=(.*)?\n/);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue