diff --git a/packages/signaling/src/index.ts b/packages/signaling/src/index.ts index dfb28369b..996192301 100644 --- a/packages/signaling/src/index.ts +++ b/packages/signaling/src/index.ts @@ -345,9 +345,9 @@ export namespace Signal { /** * A stream with the characteristics of a signal and an async iterator. */ - export class Stream - extends Signal - implements AsyncIterableIterator +export class Stream + extends Signal + implements AsyncIterableIterator { /** * Return an async iterator that yields every emission. diff --git a/packages/signaling/tests/src/index.spec.ts b/packages/signaling/tests/src/index.spec.ts index b930e9c1c..7314e0a54 100644 --- a/packages/signaling/tests/src/index.spec.ts +++ b/packages/signaling/tests/src/index.spec.ts @@ -593,7 +593,7 @@ describe('@lumino/signaling', () => { expected.split('').forEach(x => setTimeout(() => stream.emit(x))); setTimeout(() => stream.block(() => stream.emit('BLOCKED EMISSION 2'))); for await (const letter of stream) { - emitted = emitted.concat(letter) + emitted = emitted.concat(letter); if (emitted === expected) break; } });