Skip to content

feat(filters): add support for regex match mode #25

feat(filters): add support for regex match mode

feat(filters): add support for regex match mode #25

Triggered via push July 17, 2024 20:03
Status Failure
Total duration 2m 14s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

18 errors
test/index.test.ts > filtering tests > Not Equals match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 2, - "name": "Jane", - "status": "inactive", - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Array Length match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 1, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 1, - "name": "John", - "skills": Array [ - "JavaScript", - "TypeScript", - "React", - ], - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "total": 100, }, Object { "id": 2, "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "total": 150, }, Object { "id": 4, "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "total": 50, + }, + Object { + "id": 6, + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match SOME of the conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "status": "completed", "total": 100, }, Object { "id": 2, "status": "pending", "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - SOME objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 2, …(2) }, …(1) ] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { "rows": Array [ Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test (ubuntu-latest)
Process completed with exit code 1.
test/index.test.ts > filtering tests > Not Equals match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 2, - "name": "Jane", - "status": "inactive", - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Array Length match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 1, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 1, - "name": "John", - "skills": Array [ - "JavaScript", - "TypeScript", - "React", - ], - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "total": 100, }, Object { "id": 2, "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "total": 150, }, Object { "id": 4, "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "total": 50, + }, + Object { + "id": 6, + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match SOME of the conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "status": "completed", "total": 100, }, Object { "id": 2, "status": "pending", "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - SOME objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 2, …(2) }, …(1) ] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { "rows": Array [ Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test (macos-latest)
Process completed with exit code 1.
test/index.test.ts > filtering tests > Not Equals match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 2, - "name": "Jane", - "status": "inactive", - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Array Length match mode: test/index.test.ts#L35
AssertionError: expected { rows: [] } to deeply equal { rows: [ { id: 1, …(2) } ] } - Expected + Received Object { - "rows": Array [ - Object { - "id": 1, - "name": "John", - "skills": Array [ - "JavaScript", - "TypeScript", - "React", - ], - }, - ], + "rows": Array [], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "total": 100, }, Object { "id": 2, "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "total": 150, }, Object { "id": 4, "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "total": 50, + }, + Object { + "id": 6, + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - ALL objects in the array match SOME of the conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 1, …(2) }, …(2) ] } to deeply equal { rows: [ { id: 1, …(2) }, …(1) ] } - Expected + Received Object { "rows": Array [ Object { "id": 1, "name": "John", "orders": Array [ Object { "id": 1, "status": "completed", "total": 100, }, Object { "id": 2, "status": "pending", "total": 200, }, ], }, Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test/index.test.ts > filtering tests > Object Match - SOME objects in the array match ALL conditions: test/index.test.ts#L35
AssertionError: expected { rows: [ { id: 2, …(2) }, …(1) ] } to deeply equal { rows: [ { id: 2, …(2) } ] } - Expected + Received Object { "rows": Array [ Object { "id": 2, "name": "Jane", "orders": Array [ Object { "id": 3, "status": "completed", "total": 150, }, Object { "id": 4, "status": "completed", "total": 300, }, ], }, + Object { + "id": 3, + "name": "Bob", + "orders": Array [ + Object { + "id": 5, + "status": "pending", + "total": 50, + }, + Object { + "id": 6, + "status": "completed", + "total": 250, + }, + ], + }, ], } ❯ test/index.test.ts:35:24
test (windows-latest)
Process completed with exit code 1.