wip: Ai image tagging #10434
pullRequests.yml
on: pull_request
Create constants
13s
Validate commit messages
8s
Validate commit messages (dev branch, 'feat' commits not allowed)
0s
Static code analysis (TypeScript)
1m 42s
Static code analysis (verify dependencies)
1m 58s
Matrix: vitest-ddb-run
Matrix: vitest-ddbOs-run
Matrix: vitest-run
Annotations
20 errors
|
packages/api-file-manager/__tests__/files.test.ts > Files CRUD test > should create, read, update and delete files:
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:11.494Z",
"id": "6937758bdc0cbd0a0fabbb28",
"key": "6937758bdc0cbd0a0fabbb28/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:11.494Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
packages/api-file-manager/__tests__/files.test.ts > Files CRUD test > should create, read, update and delete files:
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:11.291Z",
"id": "6937758bdc0cbd0a0fabbb28",
"key": "6937758bdc0cbd0a0fabbb28/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:11.291Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
packages/api-file-manager/__tests__/fileModelModifier.test.ts > File Model Modifier test > should add custom fields to `extensions` object field:
next/packages/api-file-manager/src/createFileManager/files.crud.ts#L113
Error: Cannot read properties of undefined (reading 'trigger')
❯ Object.createFile packages/api-file-manager/src/createFileManager/files.crud.ts:113:23
❯ packages/api-file-manager/__tests__/fileModelModifier.test.ts:31:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'CREATE_FILE_ERROR', data: { file: { id: '693775a428d5220ae515e0f9', key: '693775a428d5220ae515e0f9/filenameA.png', name: 'filenameA.png', size: 123456, type: 'image/png', tags: [ 'sketch', 'file-a', 'webiny' ], aliases: [], meta: { private: false }, extensions: { carMake: 'Honda', year: 2018 }, location: { folderId: 'root' }, createdOn: '2025-12-09T01:04:36.381Z', modifiedOn: null, savedOn: '2025-12-09T01:04:36.381Z', createdBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, modifiedBy: null, savedBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, tenant: 'root', locale: 'en-US', webinyVersion: '0.0.0' } } }
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeDelete" and "afterDelete" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L195
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:195:68
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeUpdate" and "afterUpdate" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L112
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:112:68
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeCreate" and "afterCreate" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L59
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
- "id": Any<String>,
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:21.270Z",
+ "id": "69377595dfdea10a426972fe",
"key": "69377595dfdea10a426972fe/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:21.270Z",
"size": 123456,
"tags": [
"sketch",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:59:32
|
|
packages/api-file-manager/__tests__/file.extensions.test.ts > File Model Extensions > should add custom fields to `extensions` object field:
next/packages/api-file-manager/__tests__/file.extensions.test.ts#L78
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:25.725Z",
"extensions": {
"aDateTime": "2020-01-01T00:00:00.000Z",
"article": {
+ "entryId": "abcdefg",
"id": "abcdefg#0001",
"modelId": "article",
},
"carMake": "Honda",
"year": 2018,
},
"id": "69377599638b030a72c4e402",
"key": "69377599638b030a72c4e402/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:25.725Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.extensions.test.ts:78:33
|
|
packages/api-file-manager/__tests__/file.customIdentities.test.ts > file custom identities > should update a file with custom identity:
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L81
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:81:68
|
|
packages/api-file-manager/__tests__/file.customIdentities.test.ts > file custom identities > should create a file with custom identity:
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L30
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
"createdBy": {
"displayName": "John Doe",
"id": "12345678",
"type": "admin",
},
+ "createdOn": "2025-12-09T01:04:27.907Z",
"id": "6937759b45f1e60a89215070",
"key": "6937759b45f1e60a89215070/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
"modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:27.907Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
+ },
},
- "error": null,
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:30:39
|
|
packages/api-file-manager/__tests__/file.customDates.test.ts > file custom dates > should create and update file with custom dates:
next/packages/api-file-manager/__tests__/file.customDates.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"createdOn": "1995-01-01T00:00:00.000Z",
"id": "693775a28103a40ace6716c4",
"key": "693775a28103a40ace6716c4/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"savedOn": "1995-01-01T00:00:00.000Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customDates.test.ts:19:32
|
|
packages/api-file-manager/__tests__/files.test.ts > Files CRUD test > should create, read, update and delete files:
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:08.858Z",
"id": "69377586cc1cac0a0e1eb2d0",
"key": "69377586cc1cac0a0e1eb2d0/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:08.858Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
packages/api-file-manager/__tests__/files.test.ts > Files CRUD test > should create, read, update and delete files:
next/packages/api-file-manager/__tests__/files.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:04:06.636Z",
"id": "69377586cc1cac0a0e1eb2d0",
"key": "69377586cc1cac0a0e1eb2d0/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:04:06.636Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/files.test.ts:19:24
|
|
packages/api-file-manager/__tests__/fileModelModifier.test.ts > File Model Modifier test > should add custom fields to `extensions` object field:
next/packages/api-file-manager/src/createFileManager/files.crud.ts#L113
Error: Cannot read properties of undefined (reading 'trigger')
❯ Object.createFile packages/api-file-manager/src/createFileManager/files.crud.ts:113:23
❯ packages/api-file-manager/__tests__/fileModelModifier.test.ts:31:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'CREATE_FILE_ERROR', data: { file: { id: '693775eb8c7cc40af9c8c86d', key: '693775eb8c7cc40af9c8c86d/filenameA.png', name: 'filenameA.png', size: 123456, type: 'image/png', tags: [ 'sketch', 'file-a', 'webiny' ], aliases: [], meta: { private: false }, extensions: { carMake: 'Honda', year: 2018 }, location: { folderId: 'root' }, createdOn: '2025-12-09T01:05:47.821Z', modifiedOn: null, savedOn: '2025-12-09T01:05:47.821Z', createdBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, modifiedBy: null, savedBy: { id: '12345678', displayName: 'John Doe', type: 'admin' }, tenant: 'root', locale: 'en-US', webinyVersion: '0.0.0' } } }
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeDelete" and "afterDelete" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L195
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:195:68
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeUpdate" and "afterUpdate" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L112
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:112:68
|
|
packages/api-file-manager/__tests__/file.lifecycle.test.ts > File lifecycle events > it should call "beforeCreate" and "afterCreate" methods:
next/packages/api-file-manager/__tests__/file.lifecycle.test.ts#L59
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
- "id": Any<String>,
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:05:18.046Z",
+ "id": "693775cdf883d60a5168eac3",
"key": "693775cdf883d60a5168eac3/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:18.046Z",
"size": 123456,
"tags": [
"sketch",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.lifecycle.test.ts:59:32
|
|
packages/api-file-manager/__tests__/file.extensions.test.ts > File Model Extensions > should add custom fields to `extensions` object field:
next/packages/api-file-manager/__tests__/file.extensions.test.ts#L78
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "createdOn": "2025-12-09T01:05:29.219Z",
"extensions": {
"aDateTime": "2020-01-01T00:00:00.000Z",
"article": {
+ "entryId": "abcdefg",
"id": "abcdefg#0001",
"modelId": "article",
},
"carMake": "Honda",
"year": 2018,
},
"id": "693775d8bcf3e90a83e6f6ca",
"key": "693775d8bcf3e90a83e6f6ca/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:29.219Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.extensions.test.ts:78:33
|
|
packages/api-file-manager/__tests__/file.customIdentities.test.ts > file custom identities > should update a file with custom identity:
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L81
TypeError: Cannot read properties of null (reading 'id')
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:81:68
|
|
packages/api-file-manager/__tests__/file.customIdentities.test.ts > file custom identities > should create a file with custom identity:
next/packages/api-file-manager/__tests__/file.customIdentities.test.ts#L30
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
"createdBy": {
"displayName": "John Doe",
"id": "12345678",
"type": "admin",
},
+ "createdOn": "2025-12-09T01:05:33.386Z",
"id": "693775dd62eefd0a9ad8807e",
"key": "693775dd62eefd0a9ad8807e/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
"modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
+ "savedOn": "2025-12-09T01:05:33.386Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
+ },
},
- "error": null,
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customIdentities.test.ts:30:39
|
|
packages/api-file-manager/__tests__/file.customDates.test.ts > file custom dates > should create and update file with custom dates:
next/packages/api-file-manager/__tests__/file.customDates.test.ts#L19
AssertionError: expected { data: { fileManager: { …(1) } } } to deeply equal { data: { fileManager: { …(1) } } }
- Expected
+ Received
{
"data": {
"fileManager": {
"createFile": {
+ "data": null,
+ "error": {
+ "code": "CREATE_FILE_ERROR",
"data": {
+ "file": {
"aliases": [],
+ "createdBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"createdOn": "1995-01-01T00:00:00.000Z",
"id": "693775e747cbad0ae1786335",
"key": "693775e747cbad0ae1786335/filenameA.png",
+ "locale": "en-US",
+ "location": {
+ "folderId": "root",
+ },
+ "meta": {
+ "private": false,
+ },
+ "modifiedBy": null,
+ "modifiedOn": null,
"name": "filenameA.png",
+ "savedBy": {
+ "displayName": "John Doe",
+ "id": "12345678",
+ "type": "admin",
+ },
"savedOn": "1995-01-01T00:00:00.000Z",
"size": 123456,
"tags": [
"sketch",
"file-a",
"webiny",
],
+ "tenant": "root",
"type": "image/png",
+ "webinyVersion": "0.0.0",
},
- "error": null,
+ },
+ "message": "Cannot read properties of undefined (reading 'trigger')",
+ },
},
},
},
}
❯ packages/api-file-manager/__tests__/file.customDates.test.ts:19:32
|