feat: Add Phase 1 Identity Profile Wallet Integration Test Suite - #150
Open
levibliz wants to merge 1 commit into
Open
feat: Add Phase 1 Identity Profile Wallet Integration Test Suite#150levibliz wants to merge 1 commit into
levibliz wants to merge 1 commit into
Annotations
10 errors and 11 warnings
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L51
PrismaClientKnownRequestError:
Invalid `prisma.user.deleteMany()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/integration/phase-1/account-lifecycle.test.ts:51:23
48 })
49
50 afterEach(async () => {
→ 51 await prisma.user.deleteMany(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L46
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/helpers/factories.ts:47:22
44 status: string
45 }> = {},
46 ) {
→ 47 return prisma.user.create(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:46:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L51
PrismaClientKnownRequestError:
Invalid `prisma.user.deleteMany()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/integration/phase-1/account-lifecycle.test.ts:51:23
48 })
49
50 afterEach(async () => {
→ 51 await prisma.user.deleteMany(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L46
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/helpers/factories.ts:47:22
44 status: string
45 }> = {},
46 ) {
→ 47 return prisma.user.create(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:46:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L51
PrismaClientKnownRequestError:
Invalid `prisma.user.deleteMany()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/integration/phase-1/account-lifecycle.test.ts:51:23
48 })
49
50 afterEach(async () => {
→ 51 await prisma.user.deleteMany(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L46
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/helpers/factories.ts:47:22
44 status: string
45 }> = {},
46 ) {
→ 47 return prisma.user.create(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:46:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L51
PrismaClientKnownRequestError:
Invalid `prisma.user.deleteMany()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/integration/phase-1/account-lifecycle.test.ts:51:23
48 })
49
50 afterEach(async () => {
→ 51 await prisma.user.deleteMany(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L46
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/helpers/factories.ts:47:22
44 status: string
45 }> = {},
46 ) {
→ 47 return prisma.user.create(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:46:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L51
PrismaClientKnownRequestError:
Invalid `prisma.user.deleteMany()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/integration/phase-1/account-lifecycle.test.ts:51:23
48 })
49
50 afterEach(async () => {
→ 51 await prisma.user.deleteMany(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:51:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Run tests with coverage:
tests/integration/phase-1/account-lifecycle.test.ts#L46
PrismaClientKnownRequestError:
Invalid `prisma.user.create()` invocation in
/home/runner/work/learnault-api/learnault-api/tests/helpers/factories.ts:47:22
44 status: string
45 }> = {},
46 ) {
→ 47 return prisma.user.create(
❯ zr.handleRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:8286
❯ zr.handleAndLogRequestError node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7581
❯ zr.request node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:65:7288
❯ a node_modules/.pnpm/@prisma+client@7.4.2_prisma@7.4.2_@types+react@19.2.14_react-dom@19.2.4_react@19.2.4__r_49b4b128965f74ea9bbd7586bc0c7d7a/node_modules/@prisma/client/runtime/client.js:75:5816
❯ tests/integration/phase-1/account-lifecycle.test.ts:46:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'ECONNREFUSED', meta: { modelName: 'User' }, clientVersion: '7.4.2', batchRequestIdx: undefined }
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint (ESLint):
tests/integration/phase-1/wallet-provisioning.test.ts#L8
'createRequestContext' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/integration/phase-1/test-utils.ts#L73
'auth' is defined but never used. Allowed unused args must match /^_|_/u
|
|
Lint (ESLint):
tests/integration/phase-1/onboarding-consent.test.ts#L13
'ConsentService' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/integration/phase-1/onboarding-consent.test.ts#L12
'OnboardingService' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/integration/phase-1/onboarding-consent.test.ts#L10
'fakeAuditService' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/integration/phase-1/account-lifecycle.test.ts#L236
'session' is assigned a value but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/integration/phase-1/account-lifecycle.test.ts#L34
'fakeEmailProvider' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/fakes/fake-storage.provider.ts#L45
'contentType' is defined but never used. Allowed unused args must match /^_|_/u
|
|
Lint (ESLint):
tests/fakes/fake-storage.provider.ts#L1
'ImageDimensions' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
|
Lint (ESLint):
tests/fakes/fake-audit.provider.ts#L1
'AuditEntry' is defined but never used. Allowed unused vars must match /^I[A-Z]|^_/u
|
background
wait
wait-all
cancel
parallel
Loading