import { SyncPlugin } from '../../src/plugin';

export class InMemoryPlugin extends SyncPlugin {
  public messages: any[] = [];
  public process(message: any): Promise<any> {
    this.messages.push(message);
    return Promise.resolve(message);
  }
}
import { SyncPlugin } from '../../src/plugin';

export class InMemoryPlugin extends SyncPlugin {
  public messages: any[] = [];
  public process(message: any): any {
    this.messages.push(message);
    return message;
  }
}
Correct faulty plugin in tests
[fix] Correct faulty plugin in tests
