Skip to content

Commit c19a4a4

Browse files
committed
fix: trim to get rid of CRLF chars
License: MIT Signed-off-by: Henrique Dias <[email protected]>
1 parent 8777776 commit c19a4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/launch.e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe('Application launch', function () {
5959
// As a workaround, we look at console output and match on strings :<
6060
const tick = 250
6161
const ready = (output) => output && output.match(/(?:daemon is running|Daemon is ready|start daemon FINISHED)/)
62-
const hasPeerId = (output) => output && output.match(/PeerID is (\w+)$/)
62+
const hasPeerId = (output) => output && output.trim().match(/PeerID is (\w+)$/)
6363
let peerId
6464
while (true) {
6565
const logs = await app.client.getMainProcessLogs()

0 commit comments

Comments
 (0)