chore(deps): update dependency vitest to v0.34.6 - autoclosed #8105
Unit Tests ❌
❌ jest-junit.xml
2509 tests were completed in 150s with 2489 passed, 18 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
src/lib/addons/addon.test.ts | 4✅ | 6s | ||
src/lib/addons/datadog.test.ts | 7✅ | 688ms | ||
src/lib/addons/feature-event-formatter-md.test.ts | 29✅ | 713ms | ||
src/lib/addons/slack-app.test.ts | 7✅ | 644ms | ||
src/lib/addons/slack.test.ts | 8✅ | 614ms | ||
src/lib/addons/teams.test.ts | 5✅ | 809ms | ||
src/lib/addons/webhook.test.ts | 4✅ | 570ms | ||
src/lib/app.test.ts | 3✅ | 2s | ||
src/lib/create-config.test.ts | 35✅ | 756ms | ||
src/lib/db/access-store.test.ts | 9✅ | 2s | ||
src/lib/db/event-store.test.ts | 3✅ | 2s | ||
src/lib/db/feature-strategy-store.test.ts | 4✅ | 2s | ||
src/lib/db/segment-store.test.ts | 3✅ | 2s | ||
src/lib/domain/project-health/project-health.test.ts | 9✅ | 277ms | ||
src/lib/error/unleash-error.test.ts | 27✅ | 341ms | ||
src/lib/features/change-request-segment-usage-service/change-request-segment-usage-read-model.test.ts | 15✅ | 2s | ||
src/lib/features/client-feature-toggles/tests/client-feature-toggle.e2e.test.ts | 3✅ | 3s | ||
src/lib/features/client-feature-toggles/tests/client-feature-toggles.e2e.test.ts | 4✅ | 4s | ||
src/lib/features/dependent-features/dependent.features.e2e.test.ts | 9✅ | 4s | ||
src/lib/features/export-import-toggles/export-import-api-usage.test.ts | 1✅ | 3s | ||
src/lib/features/export-import-toggles/export-import-permissions.e2e.test.ts | 1✅ | 4s | ||
src/lib/features/export-import-toggles/export-import.e2e.test.ts | 17✅ | 6s | ||
src/lib/features/export-import-toggles/import-context-validation.test.ts | 3✅ | 208ms | ||
src/lib/features/feature-naming-pattern/feature-naming-validation.test.ts | 13✅ | 184ms | ||
src/lib/features/feature-search/feature.search.e2e.test.ts | 20✅ | 6s | ||
src/lib/features/feature-toggle/tests/archive-feature-toggles.e2e.test.ts | 7✅ | 4s | ||
src/lib/features/feature-toggle/tests/feature-toggle-last-seen-at.e2e.test.ts | 5✅ | 4s | ||
src/lib/features/feature-toggle/tests/feature-toggle-service.e2e.test.ts | 16✅ | 4s | ||
src/lib/features/feature-toggle/tests/feature-toggle-store.e2e.test.ts | 14✅ | 2s | ||
src/lib/features/feature-toggle/tests/feature-toggle-strategies-store.e2e.test.ts | 4✅ | 2s | ||
src/lib/features/feature-toggle/tests/feature-toggles.auth.e2e.test.ts | 3✅ | 4s | ||
src/lib/features/feature-toggle/tests/feature-toggles.e2e.test.ts | 99✅ | 14s | ||
src/lib/features/feature-toggle/time-to-production/time-to-production.test.ts | 1✅ | 378ms | ||
src/lib/features/instance-stats/getActiveUsers.e2e.test.ts | 6✅ | 2s | ||
src/lib/features/instance-stats/getProductionChanges.e2e.test.ts | 7✅ | 3s | ||
src/lib/features/instance-stats/instance-stats-service.test.ts | 2✅ | 659ms | ||
src/lib/features/maintenance/maintenance-service.test.ts | 2✅ | 616ms | ||
src/lib/features/playground/advanced-playground.test.ts | 5✅ | 4s | ||
src/lib/features/playground/generateObjectCombinations.test.ts | 3✅ | 109ms | ||
src/lib/features/playground/offline-unleash-client.test.ts | 10✅ | 370ms | ||
src/lib/features/playground/playground-view-model.test.ts | 2✅ | 118ms | ||
src/lib/features/playground/playground.test.ts | 7✅ | 11s | ||
src/lib/features/playground/validateQueryComplexity.test.ts | 2✅ | 179ms | ||
src/lib/features/project-environments/environment-service.test.ts | 11✅ | 3s | ||
src/lib/features/project-environments/environments.e2e.test.ts | 7✅ | 3s | ||
src/lib/features/scheduler/scheduler-service.test.ts | 11✅ | 1s | ||
src/lib/features/tag-type/tag-types.e2e.test.ts | 13✅ | 3s | ||
src/lib/logger.test.ts | 2✅ | 190ms | ||
src/lib/metrics.test.ts | 9✅ | 794ms | ||
src/lib/middleware/api-token-middleware.test.ts | 8✅ | 687ms | ||
src/lib/middleware/content_type_checker.test.ts | 5✅ | 138ms | ||
src/lib/middleware/cors-origin-middleware.test.ts | 5✅ | 2s | ||
src/lib/middleware/no-authentication.test.ts | 1✅ | 233ms | ||
src/lib/middleware/oss-authentication.test.ts | 2✅ | 2s | ||
src/lib/middleware/pat-middleware.test.ts | 5✅ | 201ms | ||
src/lib/middleware/rbac-middleware.test.ts | 14✅ | 902ms | ||
src/lib/openapi/index.test.ts | 6✅ | 1s | ||
src/lib/openapi/meta-schema-rules.test.ts | 716✅ | 1s | ||
src/lib/openapi/spec/addon-schema.test.ts | 1✅ | 910ms | ||
src/lib/openapi/spec/addons-schema.test.ts | 1✅ | 904ms | ||
src/lib/openapi/spec/admin-features-query-schema.test.ts | 3✅ | 1s | ||
src/lib/openapi/spec/admin-segment-schema.test.ts | 1✅ | 702ms | ||
src/lib/openapi/spec/admin-strategies-schema.test.ts | 1✅ | 867ms | ||
src/lib/openapi/spec/api-token-schema.test.ts | 2✅ | 852ms | ||
src/lib/openapi/spec/change-password-schema.test.ts | 2✅ | 1s | ||
src/lib/openapi/spec/client-application-schema.test.ts | 5✅ | 819ms | ||
src/lib/openapi/spec/client-features-query-schema.test.ts | 2✅ | 1s | ||
src/lib/openapi/spec/client-features-schema.test.ts | 5✅ | 905ms | ||
src/lib/openapi/spec/client-metrics-schema.test.ts | 3✅ | 919ms | ||
src/lib/openapi/spec/constraint-schema.test.ts | 3✅ | 1s | ||
src/lib/openapi/spec/context-field-schema.test.ts | 2✅ | 914ms | ||
src/lib/openapi/spec/deprecated-project-overview-schema.test.ts | 1✅ | 797ms | ||
src/lib/openapi/spec/email-schema.test.ts | 1✅ | 762ms | ||
src/lib/openapi/spec/event-schema.test.ts | 1✅ | 2s | ||
src/lib/openapi/spec/events-schema.test.ts | 2✅ | 818ms | ||
src/lib/openapi/spec/export-query-schema.test.ts | 1✅ | 837ms | ||
src/lib/openapi/spec/export-result-schema.test.ts | 1✅ | 900ms | ||
src/lib/openapi/spec/feature-environment-schema.test.ts | 2✅ | 1s | ||
src/lib/openapi/spec/feature-events-schema.test.ts | 2✅ | 843ms | ||
src/lib/openapi/spec/feature-metrics-schema.test.ts | 1✅ | 797ms | ||
src/lib/openapi/spec/feature-schema.test.ts | 4✅ | 867ms | ||
src/lib/openapi/spec/feature-type-count-schema.test.ts | 1✅ | 835ms | ||
src/lib/openapi/spec/feature-type-schema.test.ts | 2✅ | 1s | ||
src/lib/openapi/spec/feature-usage-schema.test.ts | 1✅ | 798ms | ||
src/lib/openapi/spec/features-schema.test.ts | 1✅ | 809ms | ||
src/lib/openapi/spec/groups-schema.test.ts | 1✅ | 850ms | ||
src/lib/openapi/spec/instance-admin-stats-schema.test.ts | 1✅ | 811ms | ||
src/lib/openapi/spec/me-schema.test.ts | 4✅ | 861ms | ||
src/lib/openapi/spec/playground-feature-schema.test.ts | 3✅ | 2s | ||
src/lib/openapi/spec/playground-request-schema.test.ts | 4✅ | 1s | ||
src/lib/openapi/spec/playground-response-schema.test.ts | 6✅ | 8s | ||
src/lib/openapi/spec/profile-schema.test.ts | 1✅ | 839ms | ||
src/lib/openapi/spec/project-overview-schema.test.ts | 1✅ | 881ms | ||
src/lib/openapi/spec/project-schema.test.ts | 2✅ | 1s | ||
src/lib/openapi/spec/public-signup-schema.test.ts | 1✅ | 1s | ||
src/lib/openapi/spec/role-schema.test.ts | 1✅ | 826ms | ||
src/lib/openapi/spec/sdk-context-schema.test.ts | 3✅ | 1s | ||
src/lib/openapi/spec/segments-schema.test.ts | 1✅ | 922ms | ||
src/lib/openapi/spec/set-strategy-sort-order-schema.test.ts | 5✅ | 704ms | ||
src/lib/openapi/spec/sort-order-schema.test.ts | 2✅ | 901ms | ||
src/lib/openapi/spec/strategy-schema.test.ts | 1✅ | 803ms | ||
src/lib/openapi/spec/tag-types-schema.test.ts | 1✅ | 764ms | ||
src/lib/openapi/spec/tags-bulk-add-schema.test.ts | 1✅ | 783ms | ||
src/lib/openapi/spec/token-user-schema.test.ts | 1✅ | 752ms | ||
src/lib/openapi/spec/ui-config-schema.test.ts | 1✅ | 781ms | ||
src/lib/openapi/spec/update-feature-strategy-segments-schema.test.ts | 1✅ | 814ms | ||
src/lib/openapi/spec/update-tags-schema.test.ts | 1✅ | 983ms | ||
src/lib/openapi/spec/upsert-segment-schema.test.ts | 1✅ | 778ms | ||
src/lib/openapi/spec/user-schema.test.ts | 1✅ | 799ms | ||
src/lib/openapi/spec/users-groups-base-schema.test.ts | 1✅ | 826ms | ||
src/lib/openapi/spec/users-schema.test.ts | 1✅ | 824ms | ||
src/lib/openapi/spec/users-search-schema.test.ts | 1✅ | 902ms | ||
src/lib/openapi/spec/validate-password-schema.test.ts | 2✅ | 2s | ||
src/lib/openapi/util/create-request-schema.test.ts | 1✅ | 160ms | ||
src/lib/openapi/util/create-response-schema.test.ts | 2✅ | 109ms | ||
src/lib/openapi/util/openapi-tags.test.ts | 2✅ | 123ms | ||
src/lib/openapi/validate.test.ts | 1✅ | 920ms | ||
src/lib/proxy/create-context.test.ts | 8✅ | 1⚪ | 108ms | |
src/lib/routes/admin-api/config.test.ts | 1✅ | 2s | ||
src/lib/routes/admin-api/context.test.ts | 12✅ | 3s | ||
src/lib/routes/admin-api/email.test.ts | 3✅ | 2s | ||
src/lib/routes/admin-api/events.test.ts | 5✅ | 2s | ||
src/lib/routes/admin-api/metrics.test.ts | 9✅ | 3s | ||
src/lib/routes/admin-api/public-signup.test.ts | 6✅ | 2s | ||
src/lib/routes/admin-api/strategy.test.ts | 16✅ | 3s | ||
src/lib/routes/admin-api/tag.test.ts | 7✅ | 2s | ||
src/lib/routes/admin-api/user/user.test.ts | 6✅ | 4s | ||
src/lib/routes/auth/simple-password-provider.test.ts | 3✅ | 1s | ||
src/lib/routes/backstage.test.ts | 1✅ | 2s | ||
src/lib/routes/client-api/metrics.test.ts | 11✅ | 6s | ||
src/lib/routes/client-api/register.test.ts | 6✅ | 2s | ||
src/lib/routes/health-check.test.ts | 2✅ | 2s | ||
src/lib/routes/logout.test.ts | 11✅ | 1s | ||
src/lib/routes/public-invite.test.ts | 7✅ | 2s | ||
src/lib/schema/api-token-schema.test.ts | 6✅ | 245ms | ||
src/lib/schema/constraint-value-types.test.ts | 9✅ | 171ms | ||
src/lib/schema/feature-schema.test.ts | 18✅ | 269ms | ||
src/lib/schema/role-schema.test.ts | 7✅ | 205ms | ||
src/lib/server-impl.test.ts | 5✅ | 2s | ||
src/lib/services/access-service.test.ts | 9✅ | 1s | ||
src/lib/services/addon-service.test.ts | 22✅ | 958ms | ||
src/lib/services/api-token-service.test.ts | 3✅ | 704ms | ||
src/lib/services/client-metrics/instance-service.test.ts | 4✅ | 721ms | ||
src/lib/services/client-metrics/last-seen/tests/last-seen-service.e2e.test.ts | 2✅ | 3s | ||
src/lib/services/client-metrics/last-seen/tests/last-seen-service.test.ts | 2✅ | 1s | ||
src/lib/services/client-metrics/metrics-service-v2.test.ts | 3✅ | 623ms | ||
src/lib/services/client-metrics/schema.test.ts | 9✅ | 226ms | ||
src/lib/services/client-spec-service.test.ts | 2✅ | 265ms | ||
src/lib/services/email-service.test.ts | 4✅ | 203ms | ||
src/lib/services/feature-service-potentially-stale.test.ts | 1✅ | 737ms | ||
src/lib/services/scheduler-service.test.ts | 6✅ | 1s | ||
src/lib/services/state-service.test.ts | 30✅ | 1s | ||
src/lib/services/tag-schema.test.ts | 1✅ | 837ms | ||
src/lib/services/tag-type-schema.test.ts | 3✅ | 278ms | ||
src/lib/services/user-service.test.ts | 12✅ | 2s | ||
src/lib/services/version-service.test.ts | 8✅ | 796ms | ||
src/lib/types/serialize-dates.test.ts | 3✅ | 112ms | ||
src/lib/types/user.test.ts | 7✅ | 183ms | ||
src/lib/util/allSettledWithRejection.test.ts | 4✅ | 106ms | ||
src/lib/util/anonymise.test.ts | 12✅ | 117ms | ||
src/lib/util/anyEventEmitter.test.ts | 1✅ | 120ms | ||
src/lib/util/arraysHaveSameItems.test.ts | 1✅ | 126ms | ||
src/lib/util/collapseHourlyMetrics.test.ts | 2✅ | 238ms | ||
src/lib/util/constantTimeCompare.test.ts | 1✅ | 133ms | ||
src/lib/util/db-lock.test.ts | 3✅ | 369ms | ||
src/lib/util/ensureStringValue.test.ts | 1✅ | 140ms | ||
src/lib/util/extract-user.test.ts | 4✅ | 103ms | ||
src/lib/util/findDuplicates.test.ts | 6✅ | 114ms | ||
src/lib/util/flag-resolver.test.ts | 8✅ | 523ms | ||
src/lib/util/format-base-uri.test.ts | 6✅ | 139ms | ||
src/lib/util/generateImageUrl.test.ts | 2✅ | 115ms | ||
src/lib/util/is-email.test.ts | 36✅ | 140ms | ||
src/lib/util/isDefined.test.ts | 1✅ | 506ms | ||
src/lib/util/map-values.test.ts | 1✅ | 116ms | ||
src/lib/util/omit-keys.test.ts | 1✅ | 251ms | ||
src/lib/util/parseEnvVar.test.ts | 3✅ | 125ms | ||
src/lib/util/rewriteHTML.test.ts | 7✅ | 121ms | ||
src/lib/util/semver.test.ts | 2✅ | 154ms | ||
src/lib/util/snakeCase.test.ts | 2✅ | 112ms | ||
src/lib/util/time-utils.test.ts | 1✅ | 308ms | ||
src/lib/util/timer.test.ts | 2✅ | 467ms | ||
src/lib/util/unique.test.ts | 1✅ | 126ms | ||
src/lib/util/validateJsonString.test.ts | 4✅ | 131ms | ||
src/lib/util/validateOrigin.test.ts | 1✅ | 205ms | ||
src/lib/util/validators/constraint-types.test.ts | 8✅ | 198ms | ||
src/test/arbitraries.test.ts | 2✅ | 315ms | ||
src/test/config/create-config.test.ts | 9✅ | 535ms | ||
src/test/e2e/api/admin/addon.e2e.test.ts | 16✅ | 3s | ||
src/test/e2e/api/admin/api-token.auth.e2e.test.ts | 18✅ | 6s | ||
src/test/e2e/api/admin/api-token.e2e.test.ts | 24✅ | 4s | ||
src/test/e2e/api/admin/client-metrics.e2e.test.ts | 5✅ | 3s | ||
src/test/e2e/api/admin/conditional-middleware.e2e.test.ts | 4✅ | 515ms | ||
src/test/e2e/api/admin/config.e2e.test.ts | 4❌ | 3s | ||
src/test/e2e/api/admin/constraints.e2e.test.ts | 2✅ | 4s | ||
src/test/e2e/api/admin/context.e2e.test.ts | 18✅ | 3s | ||
src/test/e2e/api/admin/environment.test.ts | 9✅ | 3s | ||
src/test/e2e/api/admin/event.e2e.test.ts | 4✅ | 3s | ||
src/test/e2e/api/admin/favorites.e2e.test.ts | 8✅ | 4s | ||
src/test/e2e/api/admin/feature-archive.e2e.test.ts | 11✅ | 5s | ||
src/test/e2e/api/admin/feature-type.test.ts | 6✅ | 3s | ||
src/test/e2e/api/admin/feature.auth.e2e.test.ts | 2✅ | 3s | ||
src/test/e2e/api/admin/feature.custom-auth.e2e.test.ts | 2✅ | 3s | ||
src/test/e2e/api/admin/feedback.e2e.test.ts | 4✅ | 4s | ||
src/test/e2e/api/admin/instance-admin.e2e.test.ts | 4✅ | 4s | ||
src/test/e2e/api/admin/maintenance.e2e.test.ts | 4✅ | 3s | ||
src/test/e2e/api/admin/metrics.e2e.test.ts | 5✅ | 3s | ||
src/test/e2e/api/admin/playground.e2e.test.ts | 12✅ | 5s | ||
src/test/e2e/api/admin/project/api-token.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/api/admin/project/project.api.tokens.e2e.test.ts | 8✅ | 3s | ||
src/test/e2e/api/admin/project/project.health.e2e.test.ts | 8✅ | 4s | ||
src/test/e2e/api/admin/project/projects.e2e.test.ts | 7✅ | 4s | ||
src/test/e2e/api/admin/project/variants.e2e.test.ts | 21✅ | 5s | ||
src/test/e2e/api/admin/public-signup-token.e2e.test.ts | 6✅ | 4s | ||
src/test/e2e/api/admin/segment.e2e.test.ts | 20✅ | 6s | ||
src/test/e2e/api/admin/splash.e2e.test.ts | 2✅ | 3s | ||
src/test/e2e/api/admin/state.e2e.test.ts | 22✅ | 5s | ||
src/test/e2e/api/admin/strategy.e2e.test.ts | 15✅ | 4s | ||
src/test/e2e/api/admin/tags.e2e.test.ts | 8✅ | 3s | ||
src/test/e2e/api/admin/user-admin.e2e.test.ts | 20✅ | 8s | ||
src/test/e2e/api/admin/user/pat.e2e.test.ts | 15✅ | 4s | ||
src/test/e2e/api/admin/user/user.test.ts | 1✅ | 4s | ||
src/test/e2e/api/auth/leading-slashes-are-stripped.e2e.test.ts | 4✅ | 4s | ||
src/test/e2e/api/auth/reset-password-controller.e2e.test.ts | 9✅ | 6s | ||
src/test/e2e/api/auth/simple-password-provider.e2e.test.ts | 2✅ | 5s | ||
src/test/e2e/api/client/feature.e2e.test.ts | 11✅ | 4s | ||
src/test/e2e/api/client/feature.env.disabled.e2e.test.ts | 2✅ | 4s | ||
src/test/e2e/api/client/feature.optimal304.e2e.test.ts | 3✅ | 3s | ||
src/test/e2e/api/client/feature.token.access.e2e.test.ts | 4✅ | 3s | ||
src/test/e2e/api/client/metrics.e2e.access.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/api/client/metrics.e2e.test.ts | 3✅ | 3s | ||
src/test/e2e/api/client/metricsV2.e2e.test.ts | 5✅ | 3s | ||
src/test/e2e/api/client/register.e2e.test.ts | 2✅ | 1⚪ | 4s | |
src/test/e2e/api/client/segment.e2e.test.ts | 15✅ | 5s | ||
src/test/e2e/api/openapi/openapi.e2e.test.ts | 9✅ | 8s | ||
src/test/e2e/api/proxy/proxy.concurrency.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/api/proxy/proxy.e2e.test.ts | 16✅ | 13❌ | 6s | |
src/test/e2e/custom-auth.test.ts | 2✅ | 3s | ||
src/test/e2e/dedupe-permissions.e2e.test.ts | 1✅ | 2s | ||
src/test/e2e/favor-permission-name-over-id.e2e.test.ts | 1✅ | 2s | ||
src/test/e2e/health.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/migrator.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/routes/routes.test.ts | 4✅ | 3s | ||
src/test/e2e/services/access-service.e2e.test.ts | 63✅ | 7s | ||
src/test/e2e/services/addon-service.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/services/api-token-service.e2e.test.ts | 10✅ | 3s | ||
src/test/e2e/services/client-metrics-service.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/services/group-service.e2e.test.ts | 9✅ | 3s | ||
src/test/e2e/services/playground-service.test.ts | 29✅ | 1❌ | 52s | |
src/test/e2e/services/project-health-service.e2e.test.ts | 3✅ | 3s | ||
src/test/e2e/services/project-service.e2e.test.ts | 55✅ | 8s | ||
src/test/e2e/services/reset-token-service.e2e.test.ts | 6✅ | 4s | ||
src/test/e2e/services/session-service.e2e.test.ts | 4✅ | 2s | ||
src/test/e2e/services/setting-service.test.ts | 4✅ | 3s | ||
src/test/e2e/services/state-service.e2e.test.ts | 5✅ | 3s | ||
src/test/e2e/services/user-service.e2e.test.ts | 20✅ | 5s | ||
src/test/e2e/stores/client-application-store.e2e.test.ts | 6✅ | 3s | ||
src/test/e2e/stores/client-metrics-store-v2.e2e.test.ts | 14✅ | 3s | ||
src/test/e2e/stores/context-field-store.e2e.test.ts | 2✅ | 3s | ||
src/test/e2e/stores/event-store.e2e.test.ts | 8✅ | 2s | ||
src/test/e2e/stores/feature-environment-store.e2e.test.ts | 2✅ | 2s | ||
src/test/e2e/stores/feature-tag-store.e2e.test.ts | 8✅ | 2s | ||
src/test/e2e/stores/feature-toggle-client-store.e2e.test.ts | 1✅ | 3s | ||
src/test/e2e/stores/feature-type-store.e2e.test.ts | 7✅ | 2s | ||
src/test/e2e/stores/project-store.e2e.test.ts | 7✅ | 2s | ||
src/test/e2e/stores/setting-store.e2e.test.ts | 7✅ | 2s | ||
src/test/e2e/stores/user-feedback-store.e2e.test.ts | 5✅ | 2s | ||
src/test/e2e/stores/user-splash-store.e2e.test.ts | 5✅ | 3s | ||
src/test/e2e/stores/user-store.e2e.test.ts | 15✅ | 2s |
❌ src/test/e2e/api/admin/config.e2e.test.ts
-gets ui config fields
❌ -gets ui config fields
Error: expected 200 "OK", got 500 "Internal Server Error"
-gets ui config with disablePasswordAuth
❌ -gets ui config with disablePasswordAuth
Error: expected 200 "OK", got 500 "Internal Server Error"
-gets ui config with frontendSettings
❌ -gets ui config with frontendSettings
Error: expected 200 "OK", got 500 "Internal Server Error"
-sets ui config with frontendSettings
❌ -sets ui config with frontendSettings
Error: expected 200 "OK", got 500 "Internal Server Error"
❌ src/test/e2e/api/proxy/proxy.e2e.test.ts
-should require a frontend token or an admin token
✅ -should require a frontend token or an admin token
-should not allow requests with a client token
✅ -should not allow requests with a client token
-should allow requests with a token secret alias
❌ -should allow requests with a token secret alias
Error: expected 200 "OK", got 500 "Internal Server Error"
-should allow requests with an admin token
❌ -should allow requests with an admin token
Error: expected 200 "OK", got 500 "Internal Server Error"
-should not allow admin requests with a frontend token
✅ -should not allow admin requests with a frontend token
-should not allow client requests with a frontend token
✅ -should not allow client requests with a frontend token
-should not allow requests with an invalid frontend token
✅ -should not allow requests with an invalid frontend token
-should allow requests with a frontend token
✅ -should allow requests with a frontend token
-should return 405 from unimplemented endpoints
✅ -should return 405 from unimplemented endpoints
-should enforce frontend API CORS config
✅ -should enforce frontend API CORS config
-should accept client registration requests
✅ -should accept client registration requests
-should store proxy client metrics
✅ -should store proxy client metrics
-should filter features by enabled/disabled
❌ -should filter features by enabled/disabled
Error: expected 200 "OK", got 500 "Internal Server Error"
-should filter features by strategies
❌ -should filter features by strategies
Error: expected 200 "OK", got 500 "Internal Server Error"
-should filter features by constraints
❌ -should filter features by constraints
Error: expected 200 "OK", got 500 "Internal Server Error"
-should be able to set environment as a context variable
❌ -should be able to set environment as a context variable
Error: expected 200 "OK", got 500 "Internal Server Error"
-should filter features by project
❌ -should filter features by project
Error: expected 200 "OK", got 500 "Internal Server Error"
-should filter features by environment
❌ -should filter features by environment
Error: expected 200 "OK", got 500 "Internal Server Error"
-should filter features by segment
❌ -should filter features by segment
Error: expected 200 "OK", got 500 "Internal Server Error"
-Should sync proxy for keys on an interval
✅ -Should sync proxy for keys on an interval
-Should change fetch interval
✅ -Should change fetch interval
-Should not recursively set off timers on events
✅ -Should not recursively set off timers on events
-should return maxAge header on options call
✅ -should return maxAge header on options call
-should terminate data polling when stop is called
✅ -should terminate data polling when stop is called
-should evaluate strategies when returning toggles
❌ -should evaluate strategies when returning toggles
Error: expected 200 "OK", got 500 "Internal Server Error"
-should not return all features
❌ -should not return all features
Error: expected 200 "OK", got 500 "Internal Server Error"
-should NOT evaluate disabled strategies when returning toggles
❌ -should NOT evaluate disabled strategies when returning toggles
Error: expected 200 "OK", got 500 "Internal Server Error"
-should return 204 if metrics are disabled
✅ -should return 204 if metrics are disabled
-should resolve variable rollout percentage consistently
❌ -should resolve variable rollout percentage consistently
Error: expected 200 "OK", got 500 "Internal Server Error"
❌ src/test/e2e/services/playground-service.test.ts
-url-friendly strings are URL-friendly
✅ -url-friendly strings are URL-friendly
-variant payloads are either present or undefined; never null
✅ -variant payloads are either present or undefined; never null
-sdkContextSchema
✅ -sdkContextSchema
offline client-considers enabled variants with a default strategy to be on
✅ offline client-considers enabled variants with a default strategy to be on
offline client-constrains on appName
✅ offline client-constrains on appName
offline client-considers disabled features with a default strategy to be enabled
✅ offline client-considers disabled features with a default strategy to be enabled
offline client-considers disabled variants with a default strategy and variants to be on
✅ offline client-considers disabled variants with a default strategy and variants to be on
offline client-returns variant {name: 'disabled', enabled: false } if the toggle isn't enabled
✅ offline client-returns variant {name: 'disabled', enabled: false } if the toggle isn't enabled
offline client-returns the disabled variant if there are no variants
✅ offline client-returns the disabled variant if there are no variants
offline client-returns strategy variant over feature variant
✅ offline client-returns strategy variant over feature variant
offline client-returns 'unknown' if it can't evaluate a feature
✅ offline client-returns 'unknown' if it can't evaluate a feature
offline client-returns 'unknown' for the application hostname strategy
✅ offline client-returns 'unknown' for the application hostname strategy
offline client-returns strategies in the order they are provided
✅ offline client-returns strategies in the order they are provided
the playground service (e2e)-should return the same enabled toggles as the raw SDK correctly mapped
❌ the playground service (e2e)-should return the same enabled toggles as the raw SDK correctly mapped
Error: Property failed after 11 tests
the playground service (e2e)-should do the same as the raw SDK: counterexample 0
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 0
the playground service (e2e)-should do the same as the raw SDK: counterexample 1
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 1
the playground service (e2e)-should do the same as the raw SDK: counterexample 2
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 2
the playground service (e2e)-should do the same as the raw SDK: counterexample 3
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 3
the playground service (e2e)-should do the same as the raw SDK: counterexample 4
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 4
the playground service (e2e)-should do the same as the raw SDK: counterexample 5
✅ the playground service (e2e)-should do the same as the raw SDK: counterexample 5
the playground service (e2e)-should return all of a feature's strategies
✅ the playground service (e2e)-should return all of a feature's strategies
the playground service (e2e)-should return feature strategies with all their segments
✅ the playground service (e2e)-should return feature strategies with all their segments
the playground service (e2e)-should evaluate a strategy to be unknown if it doesn't recognize the strategy and all constraints pass
✅ the playground service (e2e)-should evaluate a strategy to be unknown if it doesn't recognize the strategy and all constraints pass
the playground service (e2e)-should evaluate a strategy as false if it doesn't recognize the strategy and constraint checks fail
✅ the playground service (e2e)-should evaluate a strategy as false if it doesn't recognize the strategy and constraint checks fail
the playground service (e2e)-should evaluate a feature as unknown if there is at least one incomplete strategy among all failed strategies
✅ the playground service (e2e)-should evaluate a feature as unknown if there is at least one incomplete strategy among all failed strategies
the playground service (e2e)-features can't be evaluated to true if they're not enabled in the current environment
✅ the playground service (e2e)-features can't be evaluated to true if they're not enabled in the current environment
the playground service (e2e)-output toggles should have the same variants as input toggles
✅ the playground service (e2e)-output toggles should have the same variants as input toggles
the playground service (e2e)-isEnabled matches strategies.results
✅ the playground service (e2e)-isEnabled matches strategies.results
the playground service (e2e)-strategies.results matches the individual strategy results
✅ the playground service (e2e)-strategies.results matches the individual strategy results
the playground service (e2e)-unevaluated features should not have variants
✅ the playground service (e2e)-unevaluated features should not have variants
Annotations
Check failure on line 37 in src/test/e2e/api/admin/config.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/admin/config.e2e.test.ts ► -gets ui config fields ► -gets ui config fields
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/admin/config.e2e.test.ts:37:10)
at Promise.then.completed (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:126:9)
at run (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/testWorker.js:106:12)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 50 in src/test/e2e/api/admin/config.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/admin/config.e2e.test.ts ► -gets ui config with disablePasswordAuth ► -gets ui config with disablePasswordAuth
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/admin/config.e2e.test.ts:50:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 63 in src/test/e2e/api/admin/config.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/admin/config.e2e.test.ts ► -gets ui config with frontendSettings ► -gets ui config with frontendSettings
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/admin/config.e2e.test.ts:63:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 74 in src/test/e2e/api/admin/config.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/admin/config.e2e.test.ts ► -sets ui config with frontendSettings ► -sets ui config with frontendSettings
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/admin/config.e2e.test.ts:74:10)
at Promise.then.completed (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:126:9)
at run (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/unleash/unleash/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/unleash/unleash/node_modules/jest-runner/build/testWorker.js:106:12)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 186 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should allow requests with a token secret alias ► -should allow requests with a token secret alias
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:186:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 227 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should allow requests with an admin token ► -should allow requests with an admin token
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:227:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 442 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should filter features by enabled/disabled ► -should filter features by enabled/disabled
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:442:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 479 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should filter features by strategies ► -should filter features by strategies
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:479:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 530 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should filter features by constraints ► -should filter features by constraints
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:530:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 571 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should be able to set environment as a context variable ► -should be able to set environment as a context variable
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:571:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)
Check failure on line 622 in src/test/e2e/api/proxy/proxy.e2e.test.ts
github-actions / Unit Tests
src/test/e2e/api/proxy/proxy.e2e.test.ts ► -should filter features by project ► -should filter features by project
Failed test found in:
jest-junit.xml
Error:
Error: expected 200 "OK", got 500 "Internal Server Error"
Raw output
Error: expected 200 "OK", got 500 "Internal Server Error"
at Object.expect (/home/runner/work/unleash/unleash/src/test/e2e/api/proxy/proxy.e2e.test.ts:622:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
----
at Test._assertStatus (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:252:14)
at /home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:308:13
at Test._assertFunction (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:285:13)
at Test.assert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:164:23)
at Server.localAssert (/home/runner/work/unleash/unleash/node_modules/supertest/lib/test.js:120:14)
at Object.onceWrapper (node:events:631:28)
at Server.emit (node:events:517:28)
at emitCloseNT (node:net:2221:8)
at processTicksAndRejections (node:internal/process/task_queues:81:21)