feat: add ToriiQueryBuilder and ClauseBuilder #1053
Annotations
3 errors and 1 warning
src/__tests__/toriiQueryBuilder.test.ts > ToriiQueryBuilder > basic query building > should create a query with default values:
packages/sdk/src/__tests__/toriiQueryBuilder.test.ts#L28
AssertionError: expected { limit: 100, offset: +0, …(5) } to deeply equal { limit: 100, offset: +0, …(5) }
- Expected
+ Received
Object {
"clause": undefined,
- "dont_include_hashed_keys": false,
+ "dont_include_hashed_keys": true,
"entity_models": Array [],
"entity_updated_after": 0,
"limit": 100,
"offset": 0,
"order_by": Array [],
}
❯ src/__tests__/toriiQueryBuilder.test.ts:28:27
|
src/__tests__/toriiQueryBuilder.test.ts > ToriiQueryBuilder > timestamp and hashed keys handling > should handle hashed keys inclusion:
packages/sdk/src/__tests__/toriiQueryBuilder.test.ts#L124
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/__tests__/toriiQueryBuilder.test.ts:124:52
|
check
Process completed with exit code 1.
|
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|