Feature/frontend compatibility with v2 #104
Annotations
9 errors
|
unit-test
Process completed with exit code 1.
|
|
test/services/graphql/resolvers/orderResolver.test.ts:
src/graphql/schemas/typeDefs/hypercertTypeDefs.ts#L1
TypeError: Class extends value undefined is not a constructor or null
❯ src/graphql/schemas/typeDefs/hypercertTypeDefs.ts:1:913
❯ src/graphql/schemas/typeDefs/orderTypeDefs.ts:8:31
|
|
test/services/graphql/resolvers/fractionResolver.test.ts:
src/graphql/schemas/typeDefs/hypercertTypeDefs.ts#L1
TypeError: Class extends value undefined is not a constructor or null
❯ src/graphql/schemas/typeDefs/hypercertTypeDefs.ts:1:913
❯ src/graphql/schemas/typeDefs/orderTypeDefs.ts:8:31
|
|
test/services/database/strategies/HyperboardsQueryStrategy.test.ts > HyperboardsQueryStrategy > buildCountQuery > should build a basic count query without args:
test/services/database/strategies/HyperboardsQueryStrategy.test.ts#L1
AssertionError: expected 'select count(*) as "count" from "hype…' to match /select count\(\*\) as "count" from "…/i
- Expected:
/select count\(\*\) as "count" from "hyperboards"/i
+ Received:
"select count(*) as \"count\" from \"hyperboards_with_admins\""
❯ test/services/database/strategies/HyperboardsQueryStrategy.test.ts:1:1158
|
|
test/services/database/strategies/HyperboardsQueryStrategy.test.ts > HyperboardsQueryStrategy > buildDataQuery > should build a query with admin filter:
test/services/database/strategies/HyperboardsQueryStrategy.test.ts#L1
AssertionError: expected 'select "hyperboards_with_admins".* fr…' to contain 'select "hyperboards".* from "hyperboa…'
Expected: "select "hyperboards".* from "hyperboards""
Received: "select "hyperboards_with_admins".* from "hyperboards_with_admins""
❯ test/services/database/strategies/HyperboardsQueryStrategy.test.ts:1:931
|
|
test/services/database/strategies/HyperboardsQueryStrategy.test.ts > HyperboardsQueryStrategy > buildDataQuery > should build a query with collection filter:
test/services/database/strategies/HyperboardsQueryStrategy.test.ts#L1
AssertionError: expected 'select "hyperboards_with_admins".* fr…' to contain 'select "hyperboards".* from "hyperboa…'
Expected: "select "hyperboards".* from "hyperboards""
Received: "select "hyperboards_with_admins".* from "hyperboards_with_admins""
❯ test/services/database/strategies/HyperboardsQueryStrategy.test.ts:1:726
|
|
test/services/database/strategies/HyperboardsQueryStrategy.test.ts > HyperboardsQueryStrategy > buildDataQuery > should build a basic query without args:
test/services/database/strategies/HyperboardsQueryStrategy.test.ts#L1
AssertionError: expected 'select * from "hyperboards_with_admin…' to match /select \* from "hyperboards"/i
- Expected:
/select \* from "hyperboards"/i
+ Received:
"select * from \"hyperboards_with_admins\""
❯ test/services/database/strategies/HyperboardsQueryStrategy.test.ts:1:525
|
|
test/services/database/entities/BlueprintsEntityService.test.ts > BlueprintsService > getBlueprint > should return undefined when blueprint not found:
src/services/database/entities/EntityServiceFactory.ts#L1
Error: column "blueprints_with_admins.id" does not exist
🐜 This seems to be an execution error, which means that your request syntax seems okay,
but the resulting statement cannot be executed → Probably not a pg-mem error.
*️⃣ Failed SQL statement: select * from "blueprints_with_admins" where "blueprints_with_admins"."id" = '999' limit '100';
👉 You can file an issue at https://github.com/oguimbal/pg-mem along with a way to reproduce this error (if you can), and the stacktrace:
❯ _buildValueReal node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:91:19
❯ _buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:51:11
❯ buildBinary node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:276:21
❯ _buildValueReal node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:71:20
❯ _buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:51:11
❯ buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:20:17
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/build-filter.ts:22:33
❯ StackOf.usingValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/context.ts:11:20
❯ Object.buildFilter node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/build-filter.ts:21:25
❯ Selection.filter node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/transform-base.ts:88:26
❯ PostgresConnection.executeQuery node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/dialect/postgres/postgres-driver.js:95:69
❯ node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:37:28
❯ DefaultConnectionProvider.provideConnection node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20
❯ DefaultQueryExecutor.executeQuery node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:36:16
❯ SelectQueryBuilderImpl.execute node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-builder/select-query-builder.js:317:24
❯ SelectQueryBuilderImpl.executeTakeFirst node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-builder/select-query-builder.js:321:26
❯ GeneratedEntityService.getSingle src/services/database/entities/EntityServiceFactory.ts:1:679
❯ test/services/database/entities/BlueprintsEntityService.test.ts:1:2945
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { data: { error: 'column "blueprints_with_admins.id" does not exist', code: undefined }, code: undefined, location: { start: +0, end: +0 } }
|
|
test/services/database/entities/BlueprintsEntityService.test.ts > BlueprintsService > getBlueprint > should return a single blueprint:
src/services/database/entities/EntityServiceFactory.ts#L1
Error: column "blueprints_with_admins.id" does not exist
🐜 This seems to be an execution error, which means that your request syntax seems okay,
but the resulting statement cannot be executed → Probably not a pg-mem error.
*️⃣ Failed SQL statement: select * from "blueprints_with_admins" where "blueprints_with_admins"."id" = '65763' limit '100';
👉 You can file an issue at https://github.com/oguimbal/pg-mem along with a way to reproduce this error (if you can), and the stacktrace:
❯ _buildValueReal node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:91:19
❯ _buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:51:11
❯ buildBinary node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:276:21
❯ _buildValueReal node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:71:20
❯ _buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:51:11
❯ buildValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/expression-builder.ts:20:17
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/build-filter.ts:22:33
❯ StackOf.usingValue node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/parser/context.ts:11:20
❯ Object.buildFilter node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/build-filter.ts:21:25
❯ Selection.filter node_modules/.pnpm/[email protected][email protected]/node_modules/pg-mem/src/transforms/transform-base.ts:88:26
❯ PostgresConnection.executeQuery node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/dialect/postgres/postgres-driver.js:95:69
❯ node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:37:28
❯ DefaultConnectionProvider.provideConnection node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/driver/default-connection-provider.js:12:20
❯ DefaultQueryExecutor.executeQuery node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-executor/query-executor-base.js:36:16
❯ SelectQueryBuilderImpl.execute node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-builder/select-query-builder.js:317:24
❯ SelectQueryBuilderImpl.executeTakeFirst node_modules/.pnpm/[email protected]/node_modules/kysely/dist/cjs/query-builder/select-query-builder.js:321:26
❯ GeneratedEntityService.getSingle src/services/database/entities/EntityServiceFactory.ts:1:679
❯ test/services/database/entities/BlueprintsEntityService.test.ts:1:2473
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { data: { error: 'column "blueprints_with_admins.id" does not exist', code: undefined }, code: undefined, location: { start: +0, end: +0 } }
|