@eui/mcp 1.0.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/__tests__/schema.property.test.d.ts +2 -0
- package/dist/config/__tests__/schema.property.test.d.ts.map +1 -0
- package/dist/config/__tests__/schema.property.test.js +203 -0
- package/dist/config/__tests__/schema.property.test.js.map +1 -0
- package/dist/config/__tests__/schema.test.d.ts +2 -0
- package/dist/config/__tests__/schema.test.d.ts.map +1 -0
- package/dist/config/__tests__/schema.test.js +454 -0
- package/dist/config/__tests__/schema.test.js.map +1 -0
- package/dist/config/loader.js +4 -4
- package/dist/config/loader.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/loader/__tests__/cache-manager.property.test.d.ts +2 -0
- package/dist/loader/__tests__/cache-manager.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/cache-manager.property.test.js +245 -0
- package/dist/loader/__tests__/cache-manager.property.test.js.map +1 -0
- package/dist/loader/__tests__/cache-manager.test.d.ts +2 -0
- package/dist/loader/__tests__/cache-manager.test.d.ts.map +1 -0
- package/dist/loader/__tests__/cache-manager.test.js +256 -0
- package/dist/loader/__tests__/cache-manager.test.js.map +1 -0
- package/dist/loader/__tests__/documentation-loader.integration.test.d.ts +2 -0
- package/dist/loader/__tests__/documentation-loader.integration.test.d.ts.map +1 -0
- package/dist/loader/__tests__/documentation-loader.integration.test.js +498 -0
- package/dist/loader/__tests__/documentation-loader.integration.test.js.map +1 -0
- package/dist/loader/__tests__/documentation-loader.property.test.d.ts +2 -0
- package/dist/loader/__tests__/documentation-loader.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/documentation-loader.property.test.js +258 -0
- package/dist/loader/__tests__/documentation-loader.property.test.js.map +1 -0
- package/dist/loader/__tests__/errors.test.d.ts +2 -0
- package/dist/loader/__tests__/errors.test.d.ts.map +1 -0
- package/dist/loader/__tests__/errors.test.js +132 -0
- package/dist/loader/__tests__/errors.test.js.map +1 -0
- package/dist/loader/__tests__/http-client.property.test.d.ts +2 -0
- package/dist/loader/__tests__/http-client.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/http-client.property.test.js +288 -0
- package/dist/loader/__tests__/http-client.property.test.js.map +1 -0
- package/dist/loader/__tests__/http-client.test.d.ts +2 -0
- package/dist/loader/__tests__/http-client.test.d.ts.map +1 -0
- package/dist/loader/__tests__/http-client.test.js +497 -0
- package/dist/loader/__tests__/http-client.test.js.map +1 -0
- package/dist/loader/__tests__/local-documentation-source.property.test.d.ts +2 -0
- package/dist/loader/__tests__/local-documentation-source.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/local-documentation-source.property.test.js +373 -0
- package/dist/loader/__tests__/local-documentation-source.property.test.js.map +1 -0
- package/dist/loader/__tests__/local-documentation-source.test.d.ts +2 -0
- package/dist/loader/__tests__/local-documentation-source.test.d.ts.map +1 -0
- package/dist/loader/__tests__/local-documentation-source.test.js +544 -0
- package/dist/loader/__tests__/local-documentation-source.test.js.map +1 -0
- package/dist/loader/__tests__/path-type-detector.property.test.d.ts +2 -0
- package/dist/loader/__tests__/path-type-detector.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/path-type-detector.property.test.js +245 -0
- package/dist/loader/__tests__/path-type-detector.property.test.js.map +1 -0
- package/dist/loader/__tests__/path-type-detector.test.d.ts +2 -0
- package/dist/loader/__tests__/path-type-detector.test.d.ts.map +1 -0
- package/dist/loader/__tests__/path-type-detector.test.js +390 -0
- package/dist/loader/__tests__/path-type-detector.test.js.map +1 -0
- package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts +2 -0
- package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts.map +1 -0
- package/dist/loader/__tests__/remote-documentation-source.property.test.js +462 -0
- package/dist/loader/__tests__/remote-documentation-source.property.test.js.map +1 -0
- package/dist/loader/__tests__/remote-documentation-source.test.d.ts +2 -0
- package/dist/loader/__tests__/remote-documentation-source.test.d.ts.map +1 -0
- package/dist/loader/__tests__/remote-documentation-source.test.js +707 -0
- package/dist/loader/__tests__/remote-documentation-source.test.js.map +1 -0
- package/dist/loader/remote-documentation-source.d.ts +0 -4
- package/dist/loader/remote-documentation-source.d.ts.map +1 -1
- package/dist/loader/remote-documentation-source.js +1 -4
- package/dist/loader/remote-documentation-source.js.map +1 -1
- package/dist/main.js +0 -0
- package/dist/main.js.map +1 -1
- package/dist/mcp/__tests__/server.property.test.d.ts +2 -0
- package/dist/mcp/__tests__/server.property.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/server.property.test.js +286 -0
- package/dist/mcp/__tests__/server.property.test.js.map +1 -0
- package/dist/mcp/__tests__/server.test.d.ts +2 -0
- package/dist/mcp/__tests__/server.test.d.ts.map +1 -0
- package/dist/mcp/__tests__/server.test.js +101 -0
- package/dist/mcp/__tests__/server.test.js.map +1 -0
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +16 -4
- package/dist/mcp/server.js.map +1 -1
- package/dist/publish/__tests__/publish-utils.test.d.ts +5 -0
- package/dist/publish/__tests__/publish-utils.test.d.ts.map +1 -0
- package/dist/publish/__tests__/publish-utils.test.js +189 -0
- package/dist/publish/__tests__/publish-utils.test.js.map +1 -0
- package/dist/query/__tests__/deprecation-parser.test.d.ts +2 -0
- package/dist/query/__tests__/deprecation-parser.test.d.ts.map +1 -0
- package/dist/query/__tests__/deprecation-parser.test.js +154 -0
- package/dist/query/__tests__/deprecation-parser.test.js.map +1 -0
- package/dist/query/__tests__/deprecation-query.test.d.ts +2 -0
- package/dist/query/__tests__/deprecation-query.test.d.ts.map +1 -0
- package/dist/query/__tests__/deprecation-query.test.js +199 -0
- package/dist/query/__tests__/deprecation-query.test.js.map +1 -0
- package/dist/query/__tests__/index-builder-debug.test.d.ts +2 -0
- package/dist/query/__tests__/index-builder-debug.test.d.ts.map +1 -0
- package/dist/query/__tests__/index-builder-debug.test.js +34 -0
- package/dist/query/__tests__/index-builder-debug.test.js.map +1 -0
- package/dist/query/__tests__/index-builder.property.test.d.ts +2 -0
- package/dist/query/__tests__/index-builder.property.test.d.ts.map +1 -0
- package/dist/query/__tests__/index-builder.property.test.js +422 -0
- package/dist/query/__tests__/index-builder.property.test.js.map +1 -0
- package/dist/query/__tests__/index-builder.test.d.ts +2 -0
- package/dist/query/__tests__/index-builder.test.d.ts.map +1 -0
- package/dist/query/__tests__/index-builder.test.js +55 -0
- package/dist/query/__tests__/index-builder.test.js.map +1 -0
- package/dist/query/__tests__/result-formatter-deprecation.test.d.ts +2 -0
- package/dist/query/__tests__/result-formatter-deprecation.test.d.ts.map +1 -0
- package/dist/query/__tests__/result-formatter-deprecation.test.js +159 -0
- package/dist/query/__tests__/result-formatter-deprecation.test.js.map +1 -0
- package/dist/query/__tests__/result-formatter.integration.test.d.ts +2 -0
- package/dist/query/__tests__/result-formatter.integration.test.d.ts.map +1 -0
- package/dist/query/__tests__/result-formatter.integration.test.js +140 -0
- package/dist/query/__tests__/result-formatter.integration.test.js.map +1 -0
- package/dist/query/__tests__/result-formatter.property.test.d.ts +2 -0
- package/dist/query/__tests__/result-formatter.property.test.d.ts.map +1 -0
- package/dist/query/__tests__/result-formatter.property.test.js +163 -0
- package/dist/query/__tests__/result-formatter.property.test.js.map +1 -0
- package/dist/query/__tests__/result-formatter.test.d.ts +2 -0
- package/dist/query/__tests__/result-formatter.test.d.ts.map +1 -0
- package/dist/query/__tests__/result-formatter.test.js +85 -0
- package/dist/query/__tests__/result-formatter.test.js.map +1 -0
- package/dist/query/__tests__/search-engine.property.test.d.ts +2 -0
- package/dist/query/__tests__/search-engine.property.test.d.ts.map +1 -0
- package/dist/query/__tests__/search-engine.property.test.js +389 -0
- package/dist/query/__tests__/search-engine.property.test.js.map +1 -0
- package/dist/query/deprecation-parser.d.ts +46 -0
- package/dist/query/deprecation-parser.d.ts.map +1 -0
- package/dist/query/deprecation-parser.js +81 -0
- package/dist/query/deprecation-parser.js.map +1 -0
- package/dist/query/deprecation-query.d.ts +19 -0
- package/dist/query/deprecation-query.d.ts.map +1 -0
- package/dist/query/deprecation-query.js +73 -0
- package/dist/query/deprecation-query.js.map +1 -0
- package/dist/query/result-formatter.d.ts +27 -0
- package/dist/query/result-formatter.d.ts.map +1 -1
- package/dist/query/result-formatter.js +64 -5
- package/dist/query/result-formatter.js.map +1 -1
- package/dist/tools/__tests__/deprecation-tools.test.d.ts +2 -0
- package/dist/tools/__tests__/deprecation-tools.test.d.ts.map +1 -0
- package/dist/tools/__tests__/deprecation-tools.test.js +178 -0
- package/dist/tools/__tests__/deprecation-tools.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-docs.property.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-docs.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-docs.property.test.js +594 -0
- package/dist/tools/__tests__/get-component-docs.property.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-docs.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-docs.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-docs.test.js +137 -0
- package/dist/tools/__tests__/get-component-docs.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-examples.property.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-examples.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-examples.property.test.js +245 -0
- package/dist/tools/__tests__/get-component-examples.property.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-examples.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-examples.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-examples.test.js +128 -0
- package/dist/tools/__tests__/get-component-examples.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-inputs.property.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-inputs.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-inputs.property.test.js +310 -0
- package/dist/tools/__tests__/get-component-inputs.property.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-inputs.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-inputs.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-inputs.test.js +245 -0
- package/dist/tools/__tests__/get-component-inputs.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-outputs.property.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-outputs.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-outputs.property.test.js +227 -0
- package/dist/tools/__tests__/get-component-outputs.property.test.js.map +1 -0
- package/dist/tools/__tests__/get-component-outputs.test.d.ts +2 -0
- package/dist/tools/__tests__/get-component-outputs.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-component-outputs.test.js +189 -0
- package/dist/tools/__tests__/get-component-outputs.test.js.map +1 -0
- package/dist/tools/__tests__/get-library-version.property.test.d.ts +2 -0
- package/dist/tools/__tests__/get-library-version.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-library-version.property.test.js +115 -0
- package/dist/tools/__tests__/get-library-version.property.test.js.map +1 -0
- package/dist/tools/__tests__/get-library-version.test.d.ts +2 -0
- package/dist/tools/__tests__/get-library-version.test.d.ts.map +1 -0
- package/dist/tools/__tests__/get-library-version.test.js +97 -0
- package/dist/tools/__tests__/get-library-version.test.js.map +1 -0
- package/dist/tools/__tests__/list-components.property.test.d.ts +2 -0
- package/dist/tools/__tests__/list-components.property.test.d.ts.map +1 -0
- package/dist/tools/__tests__/list-components.property.test.js +241 -0
- package/dist/tools/__tests__/list-components.property.test.js.map +1 -0
- package/dist/tools/__tests__/list-components.test.d.ts +2 -0
- package/dist/tools/__tests__/list-components.test.d.ts.map +1 -0
- package/dist/tools/__tests__/list-components.test.js +170 -0
- package/dist/tools/__tests__/list-components.test.js.map +1 -0
- package/dist/tools/__tests__/search-components.test.d.ts +2 -0
- package/dist/tools/__tests__/search-components.test.d.ts.map +1 -0
- package/dist/tools/__tests__/search-components.test.js +239 -0
- package/dist/tools/__tests__/search-components.test.js.map +1 -0
- package/dist/tools/get-deprecation-info.d.ts +42 -0
- package/dist/tools/get-deprecation-info.d.ts.map +1 -0
- package/dist/tools/get-deprecation-info.js +55 -0
- package/dist/tools/get-deprecation-info.js.map +1 -0
- package/dist/tools/get-library-version.d.ts +33 -0
- package/dist/tools/get-library-version.d.ts.map +1 -0
- package/dist/tools/get-library-version.js +62 -0
- package/dist/tools/get-library-version.js.map +1 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +3 -0
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/list-deprecated.d.ts +47 -0
- package/dist/tools/list-deprecated.d.ts.map +1 -0
- package/dist/tools/list-deprecated.js +56 -0
- package/dist/tools/list-deprecated.js.map +1 -0
- package/dist/types/compodoc.d.ts +1 -0
- package/dist/types/compodoc.d.ts.map +1 -1
- package/dist/types/deprecation.d.ts +33 -0
- package/dist/types/deprecation.d.ts.map +1 -0
- package/dist/types/deprecation.js +5 -0
- package/dist/types/deprecation.js.map +1 -0
- package/dist/utils/__tests__/credential-masking.property.test.d.ts +2 -0
- package/dist/utils/__tests__/credential-masking.property.test.d.ts.map +1 -0
- package/dist/utils/__tests__/credential-masking.property.test.js +145 -0
- package/dist/utils/__tests__/credential-masking.property.test.js.map +1 -0
- package/dist/utils/__tests__/credential-masking.test.d.ts +2 -0
- package/dist/utils/__tests__/credential-masking.test.d.ts.map +1 -0
- package/dist/utils/__tests__/credential-masking.test.js +188 -0
- package/dist/utils/__tests__/credential-masking.test.js.map +1 -0
- package/dist/utils/__tests__/errors.test.d.ts +2 -0
- package/dist/utils/__tests__/errors.test.d.ts.map +1 -0
- package/dist/utils/__tests__/errors.test.js +110 -0
- package/dist/utils/__tests__/errors.test.js.map +1 -0
- package/dist/utils/__tests__/integration.test.d.ts +2 -0
- package/dist/utils/__tests__/integration.test.d.ts.map +1 -0
- package/dist/utils/__tests__/integration.test.js +142 -0
- package/dist/utils/__tests__/integration.test.js.map +1 -0
- package/dist/utils/__tests__/logger.test.d.ts +2 -0
- package/dist/utils/__tests__/logger.test.d.ts.map +1 -0
- package/dist/utils/__tests__/logger.test.js +119 -0
- package/dist/utils/__tests__/logger.test.js.map +1 -0
- package/dist/utils/__tests__/retry.test.d.ts +2 -0
- package/dist/utils/__tests__/retry.test.d.ts.map +1 -0
- package/dist/utils/__tests__/retry.test.js +84 -0
- package/dist/utils/__tests__/retry.test.js.map +1 -0
- package/dist/utils/credential-masking.js +4 -4
- package/dist/utils/credential-masking.js.map +1 -1
- package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts +2 -0
- package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/changelog-commit-grouping.property.test.js +297 -0
- package/dist/version/__tests__/changelog-commit-grouping.property.test.js.map +1 -0
- package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts +2 -0
- package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/changelog-commit-parsing.property.test.js +396 -0
- package/dist/version/__tests__/changelog-commit-parsing.property.test.js.map +1 -0
- package/dist/version/__tests__/changelog-file-updates.property.test.d.ts +11 -0
- package/dist/version/__tests__/changelog-file-updates.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/changelog-file-updates.property.test.js +452 -0
- package/dist/version/__tests__/changelog-file-updates.property.test.js.map +1 -0
- package/dist/version/__tests__/dry-run-action.property.test.d.ts +8 -0
- package/dist/version/__tests__/dry-run-action.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/dry-run-action.property.test.js +50 -0
- package/dist/version/__tests__/dry-run-action.property.test.js.map +1 -0
- package/dist/version/__tests__/dry-run-changelog.property.test.d.ts +8 -0
- package/dist/version/__tests__/dry-run-changelog.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/dry-run-changelog.property.test.js +53 -0
- package/dist/version/__tests__/dry-run-changelog.property.test.js.map +1 -0
- package/dist/version/__tests__/dry-run-utils.test.d.ts +7 -0
- package/dist/version/__tests__/dry-run-utils.test.d.ts.map +1 -0
- package/dist/version/__tests__/dry-run-utils.test.js +205 -0
- package/dist/version/__tests__/dry-run-utils.test.js.map +1 -0
- package/dist/version/__tests__/dry-run-version.property.test.d.ts +8 -0
- package/dist/version/__tests__/dry-run-version.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/dry-run-version.property.test.js +59 -0
- package/dist/version/__tests__/dry-run-version.property.test.js.map +1 -0
- package/dist/version/__tests__/git-tag-annotation.property.test.d.ts +11 -0
- package/dist/version/__tests__/git-tag-annotation.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/git-tag-annotation.property.test.js +271 -0
- package/dist/version/__tests__/git-tag-annotation.property.test.js.map +1 -0
- package/dist/version/__tests__/git-tag-format.property.test.d.ts +11 -0
- package/dist/version/__tests__/git-tag-format.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/git-tag-format.property.test.js +411 -0
- package/dist/version/__tests__/git-tag-format.property.test.js.map +1 -0
- package/dist/version/__tests__/git-tag-utils.test.d.ts +2 -0
- package/dist/version/__tests__/git-tag-utils.test.d.ts.map +1 -0
- package/dist/version/__tests__/git-tag-utils.test.js +142 -0
- package/dist/version/__tests__/git-tag-utils.test.js.map +1 -0
- package/dist/version/__tests__/npm-tag-selection.property.test.d.ts +2 -0
- package/dist/version/__tests__/npm-tag-selection.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/npm-tag-selection.property.test.js +79 -0
- package/dist/version/__tests__/npm-tag-selection.property.test.js.map +1 -0
- package/dist/version/__tests__/release-title-format.property.test.d.ts +11 -0
- package/dist/version/__tests__/release-title-format.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/release-title-format.property.test.js +422 -0
- package/dist/version/__tests__/release-title-format.property.test.js.map +1 -0
- package/dist/version/__tests__/release-utils.test.d.ts +7 -0
- package/dist/version/__tests__/release-utils.test.d.ts.map +1 -0
- package/dist/version/__tests__/release-utils.test.js +176 -0
- package/dist/version/__tests__/release-utils.test.js.map +1 -0
- package/dist/version/__tests__/rollback-changelog.property.test.d.ts +8 -0
- package/dist/version/__tests__/rollback-changelog.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/rollback-changelog.property.test.js +61 -0
- package/dist/version/__tests__/rollback-changelog.property.test.js.map +1 -0
- package/dist/version/__tests__/rollback-utils.test.d.ts +7 -0
- package/dist/version/__tests__/rollback-utils.test.d.ts.map +1 -0
- package/dist/version/__tests__/rollback-utils.test.js +74 -0
- package/dist/version/__tests__/rollback-utils.test.js.map +1 -0
- package/dist/version/__tests__/version-manager.property.test.d.ts +2 -0
- package/dist/version/__tests__/version-manager.property.test.d.ts.map +1 -0
- package/dist/version/__tests__/version-manager.property.test.js +143 -0
- package/dist/version/__tests__/version-manager.property.test.js.map +1 -0
- package/dist/version/__tests__/version-manager.test.d.ts +2 -0
- package/dist/version/__tests__/version-manager.test.d.ts.map +1 -0
- package/dist/version/__tests__/version-manager.test.js +203 -0
- package/dist/version/__tests__/version-manager.test.js.map +1 -0
- package/dist/version/version-manager.d.ts.map +1 -1
- package/dist/version/version-manager.js +0 -4
- package/dist/version/version-manager.js.map +1 -1
- package/package.json +1 -1
- package/dist/test-error.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.property.test.d.ts","sourceRoot":"","sources":["../../../src/config/__tests__/schema.property.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Property-based tests for configuration validation
|
|
3
|
+
* Feature: eui-compodoc-mcp, Property 17: Invalid JSON error reporting
|
|
4
|
+
* Validates: Requirements 6.2
|
|
5
|
+
*/
|
|
6
|
+
import { describe, it, expect } from '@jest/globals';
|
|
7
|
+
import * as fc from 'fast-check';
|
|
8
|
+
import { validateConfig, safeValidateConfig } from '../schema.js';
|
|
9
|
+
import { ZodError } from 'zod';
|
|
10
|
+
describe('Configuration Schema Property Tests', () => {
|
|
11
|
+
describe('Property 17: Invalid JSON error reporting', () => {
|
|
12
|
+
it('should produce clear parsing error messages for invalid configuration', () => {
|
|
13
|
+
fc.assert(fc.property(
|
|
14
|
+
// Generate invalid configurations
|
|
15
|
+
fc.oneof(
|
|
16
|
+
// Missing required documentation path
|
|
17
|
+
fc.record({
|
|
18
|
+
server: fc.record({
|
|
19
|
+
name: fc.string(),
|
|
20
|
+
version: fc.string(),
|
|
21
|
+
}),
|
|
22
|
+
// documentation is missing or has invalid path
|
|
23
|
+
documentation: fc.oneof(fc.constant(undefined), fc.record({
|
|
24
|
+
path: fc.constant(''), // empty path is invalid
|
|
25
|
+
})),
|
|
26
|
+
}),
|
|
27
|
+
// Invalid log level
|
|
28
|
+
fc.record({
|
|
29
|
+
documentation: fc.record({
|
|
30
|
+
path: fc.string({ minLength: 1 }),
|
|
31
|
+
}),
|
|
32
|
+
logging: fc.record({
|
|
33
|
+
level: fc.constantFrom('trace', 'fatal', 'invalid', ''),
|
|
34
|
+
}),
|
|
35
|
+
}),
|
|
36
|
+
// Invalid search maxResults (negative or zero)
|
|
37
|
+
fc.record({
|
|
38
|
+
documentation: fc.record({
|
|
39
|
+
path: fc.string({ minLength: 1 }),
|
|
40
|
+
}),
|
|
41
|
+
search: fc.record({
|
|
42
|
+
maxResults: fc.integer({ max: 0 }),
|
|
43
|
+
}),
|
|
44
|
+
}),
|
|
45
|
+
// Invalid search maxResults (too large)
|
|
46
|
+
fc.record({
|
|
47
|
+
documentation: fc.record({
|
|
48
|
+
path: fc.string({ minLength: 1 }),
|
|
49
|
+
}),
|
|
50
|
+
search: fc.record({
|
|
51
|
+
maxResults: fc.integer({ min: 1001 }),
|
|
52
|
+
}),
|
|
53
|
+
}),
|
|
54
|
+
// Invalid reloadDebounce (negative)
|
|
55
|
+
fc.record({
|
|
56
|
+
documentation: fc.record({
|
|
57
|
+
path: fc.string({ minLength: 1 }),
|
|
58
|
+
reloadDebounce: fc.integer({ max: -1 }),
|
|
59
|
+
}),
|
|
60
|
+
})), (invalidConfig) => {
|
|
61
|
+
// When attempting to validate invalid configuration
|
|
62
|
+
const result = safeValidateConfig(invalidConfig);
|
|
63
|
+
// Then it should fail validation
|
|
64
|
+
expect(result.success).toBe(false);
|
|
65
|
+
// And provide clear error messages
|
|
66
|
+
if (!result.success) {
|
|
67
|
+
expect(result.error).toBeInstanceOf(ZodError);
|
|
68
|
+
expect(result.error.errors.length).toBeGreaterThan(0);
|
|
69
|
+
// Each error should have a path and message
|
|
70
|
+
result.error.errors.forEach((error) => {
|
|
71
|
+
expect(error.path).toBeDefined();
|
|
72
|
+
expect(error.message).toBeDefined();
|
|
73
|
+
expect(typeof error.message).toBe('string');
|
|
74
|
+
expect(error.message.length).toBeGreaterThan(0);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}), { numRuns: 100 });
|
|
78
|
+
});
|
|
79
|
+
it('should accept valid configurations with all required fields', () => {
|
|
80
|
+
fc.assert(fc.property(
|
|
81
|
+
// Generate valid configurations
|
|
82
|
+
fc.record({
|
|
83
|
+
server: fc.record({
|
|
84
|
+
name: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
85
|
+
version: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
86
|
+
}),
|
|
87
|
+
documentation: fc.record({
|
|
88
|
+
path: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
89
|
+
watchForChanges: fc.boolean(),
|
|
90
|
+
reloadDebounce: fc.integer({ min: 0, max: 10000 }),
|
|
91
|
+
timeout: fc.integer({ min: 1000, max: 30000 }),
|
|
92
|
+
maxRetries: fc.integer({ min: 0, max: 10 }),
|
|
93
|
+
pollingInterval: fc.integer({ min: 5000, max: 300000 }),
|
|
94
|
+
}),
|
|
95
|
+
search: fc.record({
|
|
96
|
+
maxResults: fc.integer({ min: 1, max: 1000 }),
|
|
97
|
+
minQueryLength: fc.integer({ min: 1, max: 10 }),
|
|
98
|
+
}),
|
|
99
|
+
logging: fc.record({
|
|
100
|
+
level: fc.constantFrom('debug', 'info', 'warn', 'error'),
|
|
101
|
+
format: fc.constantFrom('json', 'text'),
|
|
102
|
+
}),
|
|
103
|
+
}), (validConfig) => {
|
|
104
|
+
// When validating a valid configuration
|
|
105
|
+
const result = safeValidateConfig(validConfig);
|
|
106
|
+
// Then it should succeed
|
|
107
|
+
expect(result.success).toBe(true);
|
|
108
|
+
if (result.success) {
|
|
109
|
+
// And return the parsed configuration
|
|
110
|
+
expect(result.data).toBeDefined();
|
|
111
|
+
expect(result.data.documentation.path).toBe(validConfig.documentation.path);
|
|
112
|
+
expect(result.data.server.name).toBe(validConfig.server.name);
|
|
113
|
+
expect(result.data.logging.level).toBe(validConfig.logging.level);
|
|
114
|
+
}
|
|
115
|
+
}), { numRuns: 100 });
|
|
116
|
+
});
|
|
117
|
+
it('should apply default values for missing optional fields', () => {
|
|
118
|
+
fc.assert(fc.property(
|
|
119
|
+
// Generate minimal valid configuration (only required fields)
|
|
120
|
+
fc.record({
|
|
121
|
+
documentation: fc.record({
|
|
122
|
+
path: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
123
|
+
}),
|
|
124
|
+
}), (minimalConfig) => {
|
|
125
|
+
// When validating configuration with only required fields
|
|
126
|
+
const result = safeValidateConfig(minimalConfig);
|
|
127
|
+
// Then it should succeed
|
|
128
|
+
expect(result.success).toBe(true);
|
|
129
|
+
if (result.success) {
|
|
130
|
+
// And apply default values for optional fields
|
|
131
|
+
expect(result.data.server.name).toBe('eui-compodoc-mcp');
|
|
132
|
+
expect(result.data.server.version).toBe('1.0.0');
|
|
133
|
+
expect(result.data.documentation.watchForChanges).toBe(true);
|
|
134
|
+
expect(result.data.documentation.reloadDebounce).toBe(1000);
|
|
135
|
+
expect(result.data.documentation.timeout).toBe(10000);
|
|
136
|
+
expect(result.data.documentation.maxRetries).toBe(3);
|
|
137
|
+
expect(result.data.documentation.pollingInterval).toBe(60000);
|
|
138
|
+
expect(result.data.search.maxResults).toBe(50);
|
|
139
|
+
expect(result.data.search.minQueryLength).toBe(2);
|
|
140
|
+
expect(result.data.logging.level).toBe('info');
|
|
141
|
+
expect(result.data.logging.format).toBe('text');
|
|
142
|
+
}
|
|
143
|
+
}), { numRuns: 100 });
|
|
144
|
+
});
|
|
145
|
+
it('should throw ZodError when using validateConfig with invalid input', () => {
|
|
146
|
+
fc.assert(fc.property(
|
|
147
|
+
// Generate invalid configuration (missing required path)
|
|
148
|
+
fc.record({
|
|
149
|
+
server: fc.record({
|
|
150
|
+
name: fc.string(),
|
|
151
|
+
}),
|
|
152
|
+
}), (invalidConfig) => {
|
|
153
|
+
// When using validateConfig (not safe version) with invalid input
|
|
154
|
+
// Then it should throw a ZodError
|
|
155
|
+
expect(() => validateConfig(invalidConfig)).toThrow(ZodError);
|
|
156
|
+
}), { numRuns: 100 });
|
|
157
|
+
});
|
|
158
|
+
it('should preserve all provided values when they are valid', () => {
|
|
159
|
+
fc.assert(fc.property(fc.record({
|
|
160
|
+
server: fc.record({
|
|
161
|
+
name: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
162
|
+
version: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
163
|
+
}),
|
|
164
|
+
documentation: fc.record({
|
|
165
|
+
path: fc.string({ minLength: 1 }).filter(s => s.trim().length > 0),
|
|
166
|
+
watchForChanges: fc.boolean(),
|
|
167
|
+
reloadDebounce: fc.integer({ min: 0, max: 10000 }),
|
|
168
|
+
timeout: fc.integer({ min: 1000, max: 30000 }),
|
|
169
|
+
maxRetries: fc.integer({ min: 0, max: 10 }),
|
|
170
|
+
pollingInterval: fc.integer({ min: 5000, max: 300000 }),
|
|
171
|
+
}),
|
|
172
|
+
search: fc.record({
|
|
173
|
+
maxResults: fc.integer({ min: 1, max: 1000 }),
|
|
174
|
+
minQueryLength: fc.integer({ min: 1, max: 10 }),
|
|
175
|
+
}),
|
|
176
|
+
logging: fc.record({
|
|
177
|
+
level: fc.constantFrom('debug', 'info', 'warn', 'error'),
|
|
178
|
+
format: fc.constantFrom('json', 'text'),
|
|
179
|
+
}),
|
|
180
|
+
}), (config) => {
|
|
181
|
+
// When validating a complete valid configuration
|
|
182
|
+
const result = safeValidateConfig(config);
|
|
183
|
+
// Then all provided values should be preserved
|
|
184
|
+
expect(result.success).toBe(true);
|
|
185
|
+
if (result.success) {
|
|
186
|
+
expect(result.data.server.name).toBe(config.server.name);
|
|
187
|
+
expect(result.data.server.version).toBe(config.server.version);
|
|
188
|
+
expect(result.data.documentation.path).toBe(config.documentation.path);
|
|
189
|
+
expect(result.data.documentation.watchForChanges).toBe(config.documentation.watchForChanges);
|
|
190
|
+
expect(result.data.documentation.reloadDebounce).toBe(config.documentation.reloadDebounce);
|
|
191
|
+
expect(result.data.documentation.timeout).toBe(config.documentation.timeout);
|
|
192
|
+
expect(result.data.documentation.maxRetries).toBe(config.documentation.maxRetries);
|
|
193
|
+
expect(result.data.documentation.pollingInterval).toBe(config.documentation.pollingInterval);
|
|
194
|
+
expect(result.data.search.maxResults).toBe(config.search.maxResults);
|
|
195
|
+
expect(result.data.search.minQueryLength).toBe(config.search.minQueryLength);
|
|
196
|
+
expect(result.data.logging.level).toBe(config.logging.level);
|
|
197
|
+
expect(result.data.logging.format).toBe(config.logging.format);
|
|
198
|
+
}
|
|
199
|
+
}), { numRuns: 100 });
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
//# sourceMappingURL=schema.property.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.property.test.js","sourceRoot":"","sources":["../../../src/config/__tests__/schema.property.test.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAE/B,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,QAAQ,CAA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