1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix authWriter test again

This commit is contained in:
Nick O'Leary 2018-01-29 21:58:53 +00:00
parent 8672fcd2bb
commit 9f0c567794
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -58,7 +58,7 @@ describe("localfilesystem/projects/git/authWriter", function() {
child_process.exec('"'+process.execPath+'" "'+authWriter+'" "'+listenPath+'" TEST_PHRASE_FOO',{cwd:__dirname}, (error,stdout,stderr) => { child_process.exec('"'+process.execPath+'" "'+authWriter+'" "'+listenPath+'" TEST_PHRASE_FOO',{cwd:__dirname}, (error,stdout,stderr) => {
server.close(); server.close();
try { try {
error.should.equal(0); should.not.exist(error);
receivedData.should.eql("TEST_PHRASE_FOO\n"); receivedData.should.eql("TEST_PHRASE_FOO\n");
done(); done();
} catch(err) { } catch(err) {