chore: Import planx-core as ESM #7241
pull-request.yml
on: pull_request
Check file changes
4s
Run Integration tests
4m 55s
Run API Tests
2m 14s
Run React Tests
7m 17s
Generate Hasura Change Summary
0s
E2E tests
8m 33s
Run Pulumi Preview
0s
Run Healthcheck on Pizza Services
35s
Annotations
10 errors and 21 warnings
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow-with-geospatial.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/create-flow.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts:6:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/login.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/pay.spec.ts:5:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/refresh-page.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/save-and-return.spec.ts:4:16)
|
E2E tests
Error: require() of ES Module /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/node_modules/.pnpm/github.com+theopensystemslab+planx-core@a7ec46d/node_modules/@opensystemslab/planx-core/dist/index.js from /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts not supported.
Instead change the require of index.js in /home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts to a dynamic import() which is available in all CommonJS modules.
at helpers/context.ts:13
11 | lastName: "Test",
12 | email: "[email protected]",
> 13 | isPlatformAdmin: true,
| ^
14 | },
15 | team: {
16 | name: "E2E Test Team",
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/helpers/context.ts:13:18)
at Object.<anonymous> (/home/runner/work/planx-new/planx-new/e2e/tests/ui-driven/src/sections.spec.ts:9:16)
|
E2E tests
Error: No tests found
|
Run API Tests:
api.planx.uk/lib/notify/index.ts#L73
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/analytics/metabase/shared/client.test.ts#L9
'axiosCreateSpy' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Run API Tests:
api.planx.uk/modules/auth/strategy/google.ts#L20
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/flows/validate/service/fileTypes.ts#L70
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/classifiedRoads.ts#L129
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/classifiedRoads.ts#L151
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L115
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L116
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L150
Unexpected any. Specify a different type
|
Run API Tests:
api.planx.uk/modules/gis/service/digitalLand.ts#L199
Unexpected any. Specify a different type
|
E2E tests
No files were found with the provided path: e2e/tests/ui-driven/test-results/. No artifacts will be uploaded.
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L106
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L140
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L106
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L140
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/agent.spec.ts#L97
Unexpected use of networkidle
|
E2E tests:
e2e/tests/ui-driven/src/invite-to-pay/nominee.spec.ts#L98
Unexpected use of networkidle
|