We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bd72c9 commit 1b0bed9Copy full SHA for 1b0bed9
packages/testcontainers/src/wait-strategies/log-wait-strategy.ts
@@ -42,8 +42,8 @@ export class LogWaitStrategy extends AbstractWaitStrategy {
42
this.throwError(container.id, `Log stream ended and message "${this.message}" was not received`);
43
}
44
45
- matches(chunk: string): boolean {
46
- return this.message instanceof RegExp ? this.message.test(chunk) : chunk.includes(this.message);
+ matches(line: string): boolean {
+ return this.message instanceof RegExp ? this.message.test(line) : line.includes(this.message);
47
48
49
throwError(containerId: string, message: string): void {
0 commit comments