mirror of https://github.com/keeweb/keeweb.git
printing stderr
This commit is contained in:
parent
25bec513f3
commit
077f72a0c5
|
@ -44,6 +44,7 @@ describe('KeeWeb extension native module host', function () {
|
|||
it('exits on host exit', (done) => {
|
||||
startServer();
|
||||
const process = childProcess.spawn(hostPath, [extensionOrigin]);
|
||||
process.stderr.on('data', (data) => console.error(data.toString()));
|
||||
process.on('exit', (code) => {
|
||||
expect(code).to.eql(0);
|
||||
done();
|
||||
|
@ -59,6 +60,7 @@ describe('KeeWeb extension native module host', function () {
|
|||
it('sends messages between stdio and socket', (done) => {
|
||||
startServer();
|
||||
const process = childProcess.spawn(hostPath, [extensionOrigin]);
|
||||
process.stderr.on('data', (data) => console.error(data.toString()));
|
||||
process.on('exit', (code) => {
|
||||
expect(code).to.eql(0);
|
||||
done();
|
||||
|
|
Loading…
Reference in New Issue