fix(test): formatting

This commit is contained in:
kolaente 2025-06-24 12:48:47 +02:00
parent 842a71019d
commit 9e3a1f1800
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 10 additions and 10 deletions

View File

@ -35,17 +35,17 @@ function createSingleTaskInBucket(count = 1, attrs = {}) {
}
function createTaskWithBuckets(buckets, count = 1) {
const data = TaskFactory.create(count, {
project_id: 1,
})
TaskBucketFactory.truncate()
data.forEach(t => TaskBucketFactory.create(1, {
task_id: t.id,
bucket_id: buckets[0].id,
project_view_id: buckets[0].project_view_id,
}, false))
const data = TaskFactory.create(count, {
project_id: 1,
})
TaskBucketFactory.truncate()
data.forEach(t => TaskBucketFactory.create(1, {
task_id: t.id,
bucket_id: buckets[0].id,
project_view_id: buckets[0].project_view_id,
}, false))
return data
return data
}
describe('Project View Kanban', () => {