Skip to content

Commit ac3bbbd

Browse files
committed
fix(test): wrap long expect assertions in pty-tools test
1 parent af2c0f8 commit ac3bbbd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/pty-tools.test.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,15 @@ describe('PTY Tools', () => {
106106
expect(result).toContain('Status: running')
107107
expect(result).toContain('NotifyOnExit: true')
108108
expect(result).toContain('<system_reminder>')
109-
expect(result).toContain('Completion signal for this session is the future `<pty_exited>` message.')
109+
expect(result).toContain(
110+
'Completion signal for this session is the future `<pty_exited>` message.'
111+
)
110112
expect(result).toContain(
111113
'If you only need to know whether the command finished, do not call `pty_read`; wait for `<pty_exited>`.'
112114
)
113-
expect(result).toContain('Never use sleep plus `pty_read` loops to check completion for this session.')
115+
expect(result).toContain(
116+
'Never use sleep plus `pty_read` loops to check completion for this session.'
117+
)
114118
expect(result).toContain('</system_reminder>')
115119
})
116120
})

0 commit comments

Comments
 (0)