Skip to content

Commit

Permalink
Merge pull request #2921 from rsun19/fix-experiments-test
Browse files Browse the repository at this point in the history
fixed test for experiments
  • Loading branch information
openshift-merge-bot[bot] authored Jun 17, 2024
2 parents c9ec3f9 + 261ca33 commit 408cb31
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ import { RecurringRunStatus, StorageStateKF } from '~/concepts/pipelines/kfTypes

const projectName = 'test-project-name';
const initialMockPipeline = buildMockPipelineV2({ display_name: 'Test pipeline' });
const currentTime = new Date();
currentTime.setMonth(currentTime.getMonth() - 3);
const mockExperiments = [
buildMockExperimentKF({
display_name: 'Test experiment 1',
experiment_id: '1',
last_run_created_at: '2024-02-31T15:46:33Z',
last_run_created_at: currentTime.toISOString(),
}),
buildMockExperimentKF({
display_name: 'Test experiment 2',
Expand Down

0 comments on commit 408cb31

Please sign in to comment.