mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
Fix formatting (#10668)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -17,7 +17,8 @@ import { findProperty } from '../query'
|
||||
import type { Doc, Ref, Class } from '../classes'
|
||||
|
||||
function doc (id: string, fields: Record<string, any> = {}): Doc {
|
||||
return { _id: id as Ref<Doc>, _class: 'test:class:Issue' as Ref<Class<Doc>>, ...fields } as Doc
|
||||
const doc: Doc = { _id: id as Ref<Doc>, _class: 'test:class:Issue' as Ref<Class<Doc>>, ...fields } as any
|
||||
return doc
|
||||
}
|
||||
|
||||
describe('findProperty', () => {
|
||||
|
||||
Reference in New Issue
Block a user