From cb8cf4f30202d601e3cde0e3d422fbca7923d8b2 Mon Sep 17 00:00:00 2001 From: xMartin Date: Fri, 30 Oct 2020 12:08:58 +0100 Subject: [PATCH] Work around linter warnings in tests https://github.com/jest-community/eslint-plugin-jest/issues/470#issuecomment-551989381 --- src/redux/reducer.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redux/reducer.test.ts b/src/redux/reducer.test.ts index a80290cc..d47330d5 100644 --- a/src/redux/reducer.test.ts +++ b/src/redux/reducer.test.ts @@ -40,7 +40,7 @@ function createState(): Partial { }; } -describe(UPDATE_TRANSACTION_PARTICIPANT, () => { +describe(`${UPDATE_TRANSACTION_PARTICIPANT}`, () => { it("updates participant status", () => { const state = createState(); const action = updateTransactionParticipant("p1", "status", Status.PAID); @@ -55,7 +55,7 @@ describe(UPDATE_TRANSACTION_PARTICIPANT, () => { }); }); -describe(ADD_PARTICIPANT_TO_TRANSACTION_SHARED_FORM, () => { +describe(`${ADD_PARTICIPANT_TO_TRANSACTION_SHARED_FORM}`, () => { it("adds participant input to new transaction form", () => { const state = createState(); const action = addParticipantToTransactionSharedForm(); @@ -74,7 +74,7 @@ describe(ADD_PARTICIPANT_TO_TRANSACTION_SHARED_FORM, () => { }); }); -describe(SET_ALL_JOINED_ON_TRANSACTION_SHARED_FORM, () => { +describe(`${SET_ALL_JOINED_ON_TRANSACTION_SHARED_FORM}`, () => { it("sets all participant inputs of status NONE to JOINED", () => { const state: Partial = { transactionForm: {