Skip to content
Snippets Groups Projects
Commit 64531703 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore: fix fluidState type

parent 50ad2783
No related branches found
No related tags found
1 merge request!11623.0 Release
import { render, screen } from '@testing-library/react'
import { userEvent } from '@testing-library/user-event'
import { FluidType } from 'enums'
import { FluidState, FluidType } from 'enums'
import React from 'react'
import { Provider } from 'react-redux'
import {
......@@ -45,7 +45,9 @@ describe('ChallengeCardUnlocked component', () => {
const store = createMockEcolyoStore({
global: {
fluidTypes: [FluidType.ELECTRICITY],
fluidStatus: [{ ...mockGlobalState.fluidStatus[0], status: 200 }],
fluidStatus: [
{ ...mockGlobalState.fluidStatus[0], status: FluidState.DONE },
],
},
challenge: mockChallengeState,
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment