From e1dac618a8b8929f601c7ec8aca3842c5ebf9d03 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 13 Apr 2020 20:37:36 +0900 Subject: Use plugin:prettier/recommended --- test/content/mock/MockConsoleClient.ts | 6 ++---- test/content/mock/MockScrollPresenter.ts | 7 ++++--- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'test/content/mock') diff --git a/test/content/mock/MockConsoleClient.ts b/test/content/mock/MockConsoleClient.ts index 8de2d83..849c00d 100644 --- a/test/content/mock/MockConsoleClient.ts +++ b/test/content/mock/MockConsoleClient.ts @@ -1,4 +1,4 @@ -import ConsoleClient from '../../../src/content/client/ConsoleClient'; +import ConsoleClient from "../../../src/content/client/ConsoleClient"; export default class MockConsoleClient implements ConsoleClient { public isError: boolean; @@ -7,7 +7,7 @@ export default class MockConsoleClient implements ConsoleClient { constructor() { this.isError = false; - this.text = ''; + this.text = ""; } info(text: string): Promise { @@ -22,5 +22,3 @@ export default class MockConsoleClient implements ConsoleClient { return Promise.resolve(); } } - - diff --git a/test/content/mock/MockScrollPresenter.ts b/test/content/mock/MockScrollPresenter.ts index 819569a..c802227 100644 --- a/test/content/mock/MockScrollPresenter.ts +++ b/test/content/mock/MockScrollPresenter.ts @@ -1,8 +1,10 @@ -import ScrollPresenter, { Point } from '../../../src/content/presenters/ScrollPresenter'; +import ScrollPresenter, { + Point, +} from "../../../src/content/presenters/ScrollPresenter"; export default class MockScrollPresenter implements ScrollPresenter { private pos: Point; - + constructor() { this.pos = { x: 0, y: 0 }; } @@ -44,4 +46,3 @@ export default class MockScrollPresenter implements ScrollPresenter { this.pos.x = Infinity; } } - -- cgit v1.2.3