There is no documentation of how to use components (aggregate, etc.) with convex-test.
Only an error message saying that we should call t.registerComponent().
The example in https://github.com/get-convex/convex-test/blob/main/convex/components.test.ts uses a custom component that is directly inside the project.
But, if I want to use the Aggregate component, I cannot import the schema (schema.ts) as it was not exported in the package.json.
At least, the example should include a component like Aggregate ... or aggregate should export the schema
There is no documentation of how to use components (aggregate, etc.) with
convex-test.Only an error message saying that we should call
t.registerComponent().The example in https://github.com/get-convex/convex-test/blob/main/convex/components.test.ts uses a custom component that is directly inside the project.
But, if I want to use the Aggregate component, I cannot import the schema (schema.ts) as it was not exported in the package.json.
At least, the example should include a component like Aggregate ... or aggregate should export the schema