Skip to content

Commit 9ab7578

Browse files
committed
♻️ Fix lint errors
1 parent 3a21298 commit 9ab7578

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/features/simulations/__tests__/compute-poll-stats.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ describe('Given a poll participation', () => {
9797
updated: false,
9898
created: true,
9999
organisation,
100+
poll: { slug: 'test-poll' },
100101
simulation,
101102
user,
102103
})

src/features/simulations/__tests__/fixtures/simulations.fixtures.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020
import { EventBus } from '../../../../core/event-bus/event-bus.js'
2121
import type { Metric } from '../../../../types/types.js'
2222
import type {
23-
ExtendedSituationSchema,
2423
SimulationCreateInputDto,
2524
SimulationParticipantCreateInputDto,
2625
} from '../../simulations.validator.js'
@@ -170,11 +169,11 @@ const getRandomPersona = () =>
170169
export const getRandomPersonaSituation = () => getRandomPersona().situation
171170

172171
export const getRandomTestCase = () => {
173-
const { nom, situation, extendedSituation } = getRandomPersona()
172+
const { nom, situation } = getRandomPersona()
174173

175174
return {
176175
computedResults: getComputedResults(situation),
177-
extendedSituation: extendedSituation as ExtendedSituationSchema,
176+
extendedSituation: undefined,
178177
situation,
179178
nom,
180179
}

0 commit comments

Comments
 (0)