From 8422315b33decbe76e99728821de068623c7b0f1 Mon Sep 17 00:00:00 2001 From: J M Date: Tue, 21 Dec 2021 15:33:34 -0700 Subject: [PATCH] Fix: Merge conflict Co-authored-by: Drew Ansbacher --- client/lib/source/mock-source.ts | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/client/lib/source/mock-source.ts b/client/lib/source/mock-source.ts index 93dd68c..e4d12bb 100644 --- a/client/lib/source/mock-source.ts +++ b/client/lib/source/mock-source.ts @@ -1,17 +1,13 @@ -import { Observable } from 'rxjs' -import { map } from 'rxjs/operators' -import { Update } from '../types' -import { Source } from './source' -import { RPCResponse } from './ws-source' +import { Observable } from "rxjs"; +import { map } from "rxjs/operators"; +import { Update } from "../types"; +import { Source } from "./source"; +import { RPCResponse } from "./ws-source"; export class MockSource implements Source { + constructor(private readonly seed: Observable>) {} - constructor ( - private readonly seed: Observable>, - ) { } - - watch$ (): Observable>> { - return this.seed.pipe(map(result => ({ result, - jsonrpc: '2.0' }))) - } + watch$(): Observable>> { + return this.seed.pipe(map((result) => ({ result, jsonrpc: "2.0" }))); + } }