Skip to content

Expose export functionality #296

Expose export functionality

Expose export functionality #296

Triggered via pull request November 22, 2024 09:52
Status Failure
Total duration 25s
Artifacts

ci.yml

on: pull_request
Code Quality
11s
Code Quality
JSR Publish Dry Run
8s
JSR Publish Dry Run
NPM Publish Dry Run
13s
NPM Publish Dry Run
Build
13s
Build
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
JSR Publish Dry Run
Process completed with exit code 1.
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L231
[ { firstname: "Mary", id: RecordId { + id: "h93gobdjb7pmt4afhucw", - id: 1, - tb: "person", - }, - lastname: "Doe", - }, - { - firstname: "Mary", - id: RecordId { - id: 2, tb: "person", }, lastname: "Doe", } ] - Expected - 9 + Received + 1 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:231:20
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L266
[ { age: 30, firstname: "John", id: RecordId { id: 1, tb: "person", }, lastname: "Doe", }, { age: 30, firstname: "Mary", id: RecordId { id: 2, tb: "person", }, lastname: "Doe", + }, + { + age: 30, + firstname: "Mary", + id: RecordId { + id: "h93gobdjb7pmt4afhucw", + tb: "person", + }, + lastname: "Doe", } ] - Expected - 0 + Received + 9 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:266:20
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L301
[ [ { op: "replace", path: "/age", value: 20, } ], [ { op: "replace", path: "/age", value: 20, } + ], + [ + { + op: "replace", + path: "/age", + value: 20, + } ] ] - Expected - 0 + Received + 7 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:301:24
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L325
[ { age: 20, firstname: "Mary", id: RecordId { id: 2, tb: "person", }, lastname: "Doe", + }, + { + age: 20, + firstname: "Mary", + id: RecordId { + id: "h93gobdjb7pmt4afhucw", + tb: "person", + }, + lastname: "Doe", } ] - Expected - 0 + Received + 9 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:325:20
Test (v2.1.0, http)
Process completed with exit code 1.
Code Quality
Process completed with exit code 1.
Test (v1.5.3, http)
The job was canceled because "v2_1_0_http" failed.
Test (v1.5.3, ws)
The job was canceled because "v2_1_0_http" failed.
Test (v2.0.4, http)
The job was canceled because "v2_1_0_http" failed.
Test (v2.1.0, ws)
The job was canceled because "v2_1_0_http" failed.
ResponseError: There was a problem with the database: The key being inserted already exists
at new SurrealDbError (1:23) at new ResponseError (/home/runner/work/surrealdb.js/surrealdb.js/src/errors.ts:93:3) at /home/runner/work/surrealdb.js/surrealdb.js/src/surreal.ts:337:24
ResponseError: There was a problem with the database: The key being inserted already exists
at new SurrealDbError (1:23) at new ResponseError (/home/runner/work/surrealdb.js/surrealdb.js/src/errors.ts:93:3) at /home/runner/work/surrealdb.js/surrealdb.js/src/surreal.ts:337:24
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L231
[ { firstname: "Mary", id: RecordId { + id: "v8tkpi9b98gmm84d9rq8", - id: 1, - tb: "person", - }, - lastname: "Doe", - }, - { - firstname: "Mary", - id: RecordId { - id: 2, tb: "person", }, lastname: "Doe", } ] - Expected - 9 + Received + 1 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:231:20
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L266
[ { age: 30, firstname: "John", id: RecordId { id: 1, tb: "person", }, lastname: "Doe", }, { age: 30, firstname: "Mary", id: RecordId { id: 2, tb: "person", }, lastname: "Doe", + }, + { + age: 30, + firstname: "Mary", + id: RecordId { + id: "v8tkpi9b98gmm84d9rq8", + tb: "person", + }, + lastname: "Doe", } ] - Expected - 0 + Received + 9 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:266:20
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L301
[ [ { op: "replace", path: "/age", value: 20, } ], [ { op: "replace", path: "/age", value: 20, } + ], + [ + { + op: "replace", + path: "/age", + value: 20, + } ] ] - Expected - 0 + Received + 7 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:301:24
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L325
[ { age: 20, firstname: "Mary", id: RecordId { id: 2, tb: "person", }, lastname: "Doe", + }, + { + age: 20, + firstname: "Mary", + id: RecordId { + id: "v8tkpi9b98gmm84d9rq8", + tb: "person", + }, + lastname: "Doe", } ] - Expected - 0 + Received + 9 at /home/runner/work/surrealdb.js/surrealdb.js/tests/integration/tests/querying.test.ts:325:20
Test (v2.1.0, ws)
The operation was canceled.
Test (v1.4.2, ws)
The job was canceled because "v2_1_0_http" failed.
Test (v1.4.2, ws)
The operation was canceled.