From ef118aa667f3a78bc07e7500c0a1c5b7933bc9ad Mon Sep 17 00:00:00 2001 From: Jeff McMillen Date: Fri, 6 Dec 2024 16:08:03 -0600 Subject: [PATCH] Finally got the failing test to pass --- client/src/components/DataFiles/tests/DataFiles.test.jsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/client/src/components/DataFiles/tests/DataFiles.test.jsx b/client/src/components/DataFiles/tests/DataFiles.test.jsx index 2882a9a91..71429296d 100644 --- a/client/src/components/DataFiles/tests/DataFiles.test.jsx +++ b/client/src/components/DataFiles/tests/DataFiles.test.jsx @@ -7,7 +7,6 @@ import filesFixture from '../fixtures/DataFiles.files.fixture'; import renderComponent from 'utils/testing'; import { projectsFixture } from '../../../redux/sagas/fixtures/projects.fixture'; import { dataFilesAllocations } from '../../../hooks/datafiles/useDataFilesAllocations'; -// import { allocations } from 'redux/reducers/allocations.reducers'; const mockStore = configureStore(); @@ -21,10 +20,10 @@ describe('DataFiles', () => { compress: '', }, }, - // dataFilesAllocations: { - // portal_alloc: 'TACC-ACI' - // }, - allocations: dataFilesAllocations, + allocations: { + portal_alloc: 'TACC-ACI', + active: [{ projectId: 'active-project' }], + }, systems: systemsFixture, files: filesFixture, pushKeys: {