Skip to content

Expose export functionality #297

Expose export functionality

Expose export functionality #297

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

ci.yml

on: pull_request
Code Quality
4s
Code Quality
JSR Publish Dry Run
7s
JSR Publish Dry Run
NPM Publish Dry Run
14s
NPM Publish Dry Run
Build
12s
Build
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

16 errors
Code Quality
Process completed with exit code 1.
JSR Publish Dry Run
Process completed with exit code 1.
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: "grikd0kvm6al36hw36zz", - 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: "grikd0kvm6al36hw36zz", + 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: "grikd0kvm6al36hw36zz", + 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)
Process completed with exit code 1.
error: expect(received).toStrictEqual(expected): tests/integration/tests/querying.test.ts#L231
[ { firstname: "Mary", id: RecordId { + id: "a8f1q3zxuzykv5w2c195", - 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: "a8f1q3zxuzykv5w2c195", + 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: "a8f1q3zxuzykv5w2c195", + 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.
Test (v1.5.3, ws)
The job was canceled because "v2_1_0_ws" failed.
Test (v2.0.4, ws)
The job was canceled because "v2_1_0_ws" failed.