implement prepare publish #904
tests-and-checks.yml
on: push
Install deps, build required package, typecheck, lint and test
2m 59s
Annotations
5 errors and 1 warning
|
Install deps, build required package, typecheck, lint and test
Process completed with exit code 1.
|
|
test/HypergraphSpaceContext.test.tsx > HypergraphSpaceContext > useUpdateEntity > should be able to update a created entity through the useUpdateEntity hook:
packages/hypergraph-react/test/HypergraphSpaceContext.test.tsx#L133
AssertionError: expected { …(5) } to deeply equal { …(4) }
- Expected
+ Received
{
+ "__schema": [Function Person],
"age": 2112,
"id": "0cb8b415-4216-403e-9791-91c1812da874",
"name": "Test User",
"type": "Person",
}
❯ test/HypergraphSpaceContext.test.tsx:133:29
|
|
test/entity/entity.test.ts > Entity > delete > should be able to delete a created entity and no longer be found by querying:
packages/hypergraph/test/entity/entity.test.ts#L156
AssertionError: expected { name: 'Test', …(6) } to deeply equal { …(6) }
- Expected
+ Received
@@ -1,7 +1,8 @@
{
"__deleted": false,
+ "__schema": [Function User],
"__version": "",
"email": "[email protected]",
"id": "269dd933-fc70-4341-a51a-441690e86c10",
"name": "Test",
"type": "User",
❯ test/entity/entity.test.ts:156:36
|
|
test/entity/entity.test.ts > Entity > update > should update an existing entity and see the updates when querying:
packages/hypergraph/test/entity/entity.test.ts#L85
AssertionError: expected { name: 'Test', age: 1, …(5) } to deeply equal { …(6) }
- Expected
+ Received
@@ -1,7 +1,8 @@
{
"__deleted": false,
+ "__schema": [Function Person],
"__version": "",
"age": 1,
"id": "6db6ed21-df2d-4891-b162-5ea65591689b",
"name": "Test",
"type": "Person",
❯ test/entity/entity.test.ts:85:36
|
|
test/entity/entity.test.ts > Entity > create > should create an entity in the repo and be discoverable by querying:
packages/hypergraph/test/entity/entity.test.ts#L54
AssertionError: expected { name: 'Conference', …(5) } to deeply equal { …(5) }
- Expected
+ Received
{
"__deleted": false,
+ "__schema": [Function Event],
"__version": "",
"id": "827af0b0-126b-48c7-b501-5f44dbf87003",
"name": "Conference",
"type": "Event",
}
❯ test/entity/entity.test.ts:54:36
|
|
Install deps, build required package, typecheck, lint and test
Could not determine node version from /home/runner/work/hypergraph/hypergraph/package.json. Falling back
|