Skip to content

Commit 1a769b6

Browse files
committed
Moved/deleted v1 unit tests
1 parent 2a85ec5 commit 1a769b6

File tree

9 files changed

+98
-602
lines changed

9 files changed

+98
-602
lines changed

__tests__/mock/jobs-list.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,43 +37,37 @@ export const data = {
3737
id: 1,
3838
project_id: 1,
3939
workflow_id: 1,
40-
input_dataset_id: 1,
41-
output_dataset_id: 2,
40+
dataset_id: 1,
41+
dataset_dump: { id: 1, name: 'dataset1' },
4242
start_timestamp: '2023-10-30T09:00:38.442196+00:00',
4343
end_timestamp: '2023-10-30T09:10:38.442196+00:00',
4444
project_dump: { id: 1, name: 'project 1' },
4545
workflow_dump: { id: 1, name: 'workflow 1' },
46-
input_dataset_dump: { id: 1, name: 'input1' },
47-
output_dataset_dump: { id: 2, name: 'output1' },
4846
status: 'done',
4947
user_email: '[email protected]'
5048
},
5149
{
5250
id: 2,
5351
project_id: 2,
5452
workflow_id: 2,
55-
input_dataset_id: 3,
56-
output_dataset_id: 4,
53+
dataset_id: 2,
54+
dataset_dump: { id: 2, name: 'dataset2' },
5755
start_timestamp: '2023-10-30T09:15:38.442196+00:00',
5856
end_timestamp: '2023-10-30T09:20:38.442196+00:00',
5957
project_dump: { id: 2, name: 'project 2' },
6058
workflow_dump: { id: 2, name: 'workflow 2' },
61-
input_dataset_dump: { id: 3, name: 'input2' },
62-
output_dataset_dump: { id: 4, name: 'output2' },
6359
status: 'failed',
6460
user_email: '[email protected]'
6561
},
6662
{
6763
id: 3,
6864
project_id: 2,
6965
workflow_id: 2,
70-
input_dataset_id: 5,
71-
output_dataset_id: 6,
66+
dataset_id: 3,
67+
dataset_dump: { id: 3, name: 'dataset3' },
7268
start_timestamp: '2023-10-30T09:30:38.442196+00:00',
7369
project_dump: { id: 2, name: 'project 2' },
7470
workflow_dump: { id: 2, name: 'workflow 2' },
75-
input_dataset_dump: { id: 5, name: 'input3' },
76-
output_dataset_dump: { id: 6, name: 'output3' },
7771
end_timestamp: null,
7872
status: 'submitted',
7973
user_email: '[email protected]'

__tests__/v1/TaskCollection.test.js

Lines changed: 0 additions & 210 deletions
This file was deleted.

0 commit comments

Comments
 (0)