🎨 (test utils) add more explicite task names
This commit is contained in:
@@ -12,20 +12,21 @@ export interface InitialState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const tasks = [createTaskFixture(), createTaskFixture()]
|
const tasks = [createTaskFixture(), createTaskFixture()]
|
||||||
|
const [firstTask, secondTask] = tasks
|
||||||
|
|
||||||
const initialState: InitialState = {
|
const initialState: InitialState = {
|
||||||
'task-store': { tasks },
|
'task-store': { tasks },
|
||||||
'task-record-store': {
|
'task-record-store': {
|
||||||
currentStepId: null,
|
currentStepId: null,
|
||||||
records: {
|
records: {
|
||||||
[tasks[0].id]: {
|
[firstTask.id]: {
|
||||||
taskId: tasks[0].id,
|
taskId: firstTask.id,
|
||||||
stepRecords: {},
|
stepRecords: {},
|
||||||
start: toISODate(new Date()),
|
start: toISODate(new Date()),
|
||||||
notes: ''
|
notes: ''
|
||||||
},
|
},
|
||||||
[tasks[1].id]: {
|
[secondTask.id]: {
|
||||||
taskId: tasks[1].id,
|
taskId: secondTask.id,
|
||||||
stepRecords: {},
|
stepRecords: {},
|
||||||
start: toISODate(new Date()),
|
start: toISODate(new Date()),
|
||||||
notes: ''
|
notes: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user