CI #1
Annotations
5 errors
error: expect(received).toMatchSnapshot(expected):
tests/unit/jsonify.test.ts#L8
Expected:
{
"date": "2024-05-06T17:44:57.085Z",
"dec": "3.333333",
"dur": "1d2h",
"false": false,
"float": 123.456,
"geo": {
"geometries": [
{
"coordinates": [
1,
2,
],
"type": "Point",
},
{
"coordinates": [
[
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
],
"type": "MultiPolygon",
},
{
"coordinates": [
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
"type": "Polygon",
},
],
"type": "GeometryCollection",
},
:1e23",
:123",
",
"null": null,
"num": 123,
"range": "r"bla:a"..s"z"",
"range_unbounded": "..s"z"",
:under_score",
"rng_rid": "bla:a..z",
:under_score",
"string": "I am a string",
"tb": "some super _ cool table",
"true": true,
"uuid": "92b84bde-39c8-4b4b-92f7-626096d6c4d9",
}
Received:
{
"date": "2024-05-06T17:44:57.085Z",
"dec": "3.333333",
"dur": "1d2h",
"false": false,
"float": 123.456,
"geo": {
"geometries": [
{
"coordinates": [
1,
2,
],
"type": "Point",
},
{
"coordinates": [
[
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
],
"type": "MultiPolygon",
},
{
"coordinates": [
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
"type": "Polygon",
},
],
"type": "GeometryCollection",
},
"id_almost_a_number": {
"id": "1e23",
",
},
"id_is_a_number": {
"id": 123,
",
},
"id_looks_like_number": {
"id": "123",
",
},
"null": null,
"num": 123,
"range": "r"bla:a"..s"z"",
"range_unbounded": "..s"z"",
"rid": {
"id": "under_score",
",
},
"rng_rid": "bla:a..z",
:under_score",
"string": "I am a string",
"tb": "some super _ cool table",
"true": true,
"uuid": "92b84bde-39c8-4b4b-92f7-626096d6c4d9",
}
at /home/runner/work/surrealdb.js/surrealdb.js/tests/unit/jsonify.test.ts:8:15
|
Test (v2.1.1, ws)
Process completed with exit code 1.
|
Test (v2.1.1, http)
The job was canceled because "v2_1_1_ws" failed.
|
error: expect(received).toMatchSnapshot(expected):
tests/unit/jsonify.test.ts#L8
Expected:
{
"date": "2024-05-06T17:44:57.085Z",
"dec": "3.333333",
"dur": "1d2h",
"false": false,
"float": 123.456,
"geo": {
"geometries": [
{
"coordinates": [
1,
2,
],
"type": "Point",
},
{
"coordinates": [
[
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
],
"type": "MultiPolygon",
},
{
"coordinates": [
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
"type": "Polygon",
},
],
"type": "GeometryCollection",
},
:1e23",
:123",
",
"null": null,
"num": 123,
"range": "r"bla:a"..s"z"",
"range_unbounded": "..s"z"",
:under_score",
"rng_rid": "bla:a..z",
:under_score",
"string": "I am a string",
"tb": "some super _ cool table",
"true": true,
"uuid": "92b84bde-39c8-4b4b-92f7-626096d6c4d9",
}
Received:
{
"date": "2024-05-06T17:44:57.085Z",
"dec": "3.333333",
"dur": "1d2h",
"false": false,
"float": 123.456,
"geo": {
"geometries": [
{
"coordinates": [
1,
2,
],
"type": "Point",
},
{
"coordinates": [
[
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
],
"type": "MultiPolygon",
},
{
"coordinates": [
[
[
1,
2,
],
[
3,
4,
],
[
1,
2,
],
],
[
[
5,
6,
],
[
7,
8,
],
[
5,
6,
],
],
],
"type": "Polygon",
},
],
"type": "GeometryCollection",
},
"id_almost_a_number": {
"id": "1e23",
",
},
"id_is_a_number": {
"id": 123,
",
},
"id_looks_like_number": {
"id": "123",
",
},
"null": null,
"num": 123,
"range": "r"bla:a"..s"z"",
"range_unbounded": "..s"z"",
"rid": {
"id": "under_score",
",
},
"rng_rid": "bla:a..z",
:under_score",
"string": "I am a string",
"tb": "some super _ cool table",
"true": true,
"uuid": "92b84bde-39c8-4b4b-92f7-626096d6c4d9",
}
at /home/runner/work/surrealdb.js/surrealdb.js/tests/unit/jsonify.test.ts:8:15
|
Test (v2.1.1, http)
The operation was canceled.
|