Skip to content

test: WriteClient core methods #541

test: WriteClient core methods

test: WriteClient core methods #541

Triggered via push September 3, 2024 16:17
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

on: push
Matrix: prepare
Matrix: size
Matrix: suite
Matrix: types
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 12 warnings
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Viverra tellus in hac habitasse platea", "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Lorem sed risus ultricies tristique", "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Metus dictum at tempor commodo", "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:294:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://aliquam.example", - "filename": "quis.example", + "alt": "Viverra tellus in hac habitasse platea", + "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", + "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", + "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://sagittis.example", - "filename": "malesuada.example", + "alt": "Lorem sed risus ultricies tristique", + "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", + "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", + "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://risus,.example", - "filename": "amet.example", + "alt": "Metus dictum at tempor commodo", + "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", + "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", + "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://massa.example", - "filename": "dolor.example", + "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", + "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", + "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", + "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:294:36
test/writeClient-migrate.test.ts > migrates nothing when migration is empty: test/writeClient-migrate.test.ts#L19
AssertionError: promise rejected "TypeError: Cannot read properties of unde…" instead of resolving ❯ test/writeClient-migrate.test.ts:19:40 Caused by: Caused by: TypeError: Cannot read properties of undefined (reading 'id') ❯ WriteClient.migrateCreateDocuments src/WriteClient.ts:404:74 ❯ WriteClient.migrate src/WriteClient.ts:281:21 ❯ test/writeClient-migrate.test.ts:19:2
Suite (ubuntu-latest, Node 20)
Process completed with exit code 1.
test/migration-createAsset.test.ts > creates an asset from a file: test/migration-createAsset.test.ts#L26
ReferenceError: File is not defined ❯ test/migration-createAsset.test.ts:26:15
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Viverra tellus in hac habitasse platea", "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Lorem sed risus ultricies tristique", "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Metus dictum at tempor commodo", "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:294:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://aliquam.example", - "filename": "quis.example", + "alt": "Viverra tellus in hac habitasse platea", + "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", + "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", + "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://sagittis.example", - "filename": "malesuada.example", + "alt": "Lorem sed risus ultricies tristique", + "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", + "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", + "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://risus,.example", - "filename": "amet.example", + "alt": "Metus dictum at tempor commodo", + "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", + "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", + "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://massa.example", - "filename": "dolor.example", + "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", + "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", + "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", + "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:294:36
test/writeClient-createAsset.test.ts > creates an asset from string content: src/WriteClient.ts#L648
ReferenceError: File is not defined ❯ WriteClient.createAsset src/WriteClient.ts:648:8 ❯ test/writeClient-createAsset.test.ts:16:29
test/migration-createAsset.test.ts > creates an asset from a file: test/migration-createAsset.test.ts#L26
ReferenceError: File is not defined ❯ test/migration-createAsset.test.ts:26:15
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Viverra tellus in hac habitasse platea", "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Lorem sed risus ultricies tristique", "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Metus dictum at tempor commodo", "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:294:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://aliquam.example", - "filename": "quis.example", + "alt": "Viverra tellus in hac habitasse platea", + "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", + "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", + "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://sagittis.example", - "filename": "malesuada.example", + "alt": "Lorem sed risus ultricies tristique", + "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", + "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", + "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://risus,.example", - "filename": "amet.example", + "alt": "Metus dictum at tempor commodo", + "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", + "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", + "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://massa.example", - "filename": "dolor.example", + "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", + "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", + "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", + "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:294:36
test/writeClient-createAsset.test.ts > creates an asset from string content: src/WriteClient.ts#L645
ReferenceError: FormData is not defined ❯ WriteClient.createAsset src/WriteClient.ts:645:20 ❯ test/writeClient-createAsset.test.ts:16:29
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Viverra tellus in hac habitasse platea", "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Lorem sed risus ultricies tristique", "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Metus dictum at tempor commodo", "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('image') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected undefined to strictly equal { …(7) } - Expected: Object { "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, "tags": undefined, } + Received: undefined ❯ test/migration-createDocument.test.ts:294:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > regular fields: test/migration-createDocument.test.ts#L214
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://aliquam.example", - "filename": "quis.example", + "alt": "Viverra tellus in hac habitasse platea", + "credits": "Facilisis sed odio morbi quis commodo odio aenean sed adipiscing diam donec adipiscing tristique", + "file": "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1", + "filename": "photo-1497436072909-60f360e1d4b1", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:214:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > group fields: test/migration-createDocument.test.ts#L234
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://sagittis.example", - "filename": "malesuada.example", + "alt": "Lorem sed risus ultricies tristique", + "credits": "Elit pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas", + "file": "https://images.unsplash.com/photo-1431794062232-2a99a5431c6c", + "filename": "photo-1431794062232-2a99a5431c6c", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:234:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's primary zone: test/migration-createDocument.test.ts#L264
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://risus,.example", - "filename": "amet.example", + "alt": "Metus dictum at tempor commodo", + "credits": "Dictum fusce ut placerat orci nulla pellentesque dignissim", + "file": "https://images.unsplash.com/photo-1587502537745-84b86da1204f", + "filename": "photo-1587502537745-84b86da1204f", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:264:36
test/migration-createDocument.test.ts > extracts assets from image fields ('rich text (image\'s link to media)') > slice's repeatable zone: test/migration-createDocument.test.ts#L294
AssertionError: expected { id: undefined, …(6) } to strictly equal { alt: undefined, …(6) } - Expected + Received Object { - "alt": undefined, - "credits": undefined, - "file": "https://massa.example", - "filename": "dolor.example", + "alt": "Eu turpis egestas pretium aenean pharetra magna ac placerat vestibulum lectus mauris ultrices eros", + "credits": "Vulputate enim nulla aliquet porttitor lacus luctus accumsan tortor posuere ac ut consequat semper", + "file": "https://images.unsplash.com/photo-1444464666168-49d633b86797", + "filename": "photo-1444464666168-49d633b86797", "id": undefined, "notes": undefined, - "tags": undefined, + "tags": Array [], } ❯ test/migration-createDocument.test.ts:294:36
test/writeClient-migrate.test.ts > migrates nothing when migration is empty: test/writeClient-migrate.test.ts#L19
AssertionError: promise rejected "TypeError: Cannot read properties of unde…" instead of resolving ❯ test/writeClient-migrate.test.ts:19:40 Caused by: Caused by: TypeError: Cannot read properties of undefined (reading 'id') ❯ WriteClient.migrateCreateDocuments src/WriteClient.ts:404:74 ❯ WriteClient.migrate src/WriteClient.ts:281:21 ❯ test/writeClient-migrate.test.ts:19:2
Suite (ubuntu-latest, Node 22)
Process completed with exit code 1.
Prepare (ubuntu-latest, Node 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Prepare (ubuntu-latest, Node 16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Prepare (ubuntu-latest, Node 22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Prepare (ubuntu-latest, Node 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Types (ubuntu-latest, Node 22, TS 5.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Types (ubuntu-latest, Node 22, TS 5.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Types (ubuntu-latest, Node 22, TS 5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Types (ubuntu-latest, Node 22, TS 5.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Suite (ubuntu-latest, Node 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Suite (ubuntu-latest, Node 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Suite (ubuntu-latest, Node 16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Suite (ubuntu-latest, Node 22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/