From 593f704cfd1153d4d5fbc32da192ce9e867397c2 Mon Sep 17 00:00:00 2001 From: Cheuk Yin Ng Date: Mon, 3 Feb 2020 11:56:19 -0800 Subject: [PATCH] fix linter --- src/components/choices/Choices.test.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/choices/Choices.test.tsx b/src/components/choices/Choices.test.tsx index b57e792..3982e67 100644 --- a/src/components/choices/Choices.test.tsx +++ b/src/components/choices/Choices.test.tsx @@ -9,8 +9,9 @@ it("renders choices correctly", () => { const {getByText} = render( {c}} - />); + makeChoice={(c) => {c;}} + /> + ); for (const c of choices) { expect(getByText(c.answer())).toBeInTheDocument(); }