Skip to content

Commit

Permalink
Finally got the failing test to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff McMillen authored and Jeff McMillen committed Dec 6, 2024
1 parent 688f9e1 commit ef118aa
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions client/src/components/DataFiles/tests/DataFiles.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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: {
Expand Down

0 comments on commit ef118aa

Please sign in to comment.