@contract-case/case-plugin-base
Advanced tools
Comparing version 0.17.0 to 0.17.1
@@ -16,3 +16,3 @@ "use strict"; | ||
super(`ContractCase example failed to match the expectations: \n\n${matchResult | ||
.map((r) => `${r.message}`) | ||
.map((r) => ` - ${r.message}`) | ||
.reduce((acc, curr) => `${acc}\n${curr}`)}`); | ||
@@ -19,0 +19,0 @@ Object.setPrototypeOf(this, new.target.prototype); |
@@ -24,5 +24,7 @@ "use strict"; | ||
if (typeof stripped !== 'string') { | ||
const message = `Provided matcher did not resolve to a string. Instead, it resolved to: ${typeof stripped}`; | ||
const message = `The provided matcher did not resolve to a string. Instead, it resolved to: ${typeof stripped}`; | ||
context.logger.maintainerDebug(message, stripped, matcher); | ||
throw new errors_1.CaseCoreError(message, context); | ||
const error = new errors_1.CaseConfigurationError(message, context); | ||
context.logger.deepMaintainerDebug('Stack trace is', error.stack); | ||
throw error; | ||
} | ||
@@ -29,0 +31,0 @@ return stripped; |
{ | ||
"name": "@contract-case/case-plugin-base", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"description": "Plugin framework for writing plugins for the ContractCase test framework", | ||
@@ -69,6 +69,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@contract-case/case-plugin-dsl-types": "0.17.0", | ||
"@contract-case/case-plugin-dsl-types": "0.17.1", | ||
"pretty-format": "^29.7.0" | ||
}, | ||
"gitHead": "8dd87d186d45b9d311b3b2129ae6a81853897d04" | ||
"gitHead": "0fdf25453a567bc6433834374725954e3d2ff206" | ||
} |
@@ -1,11 +0,10 @@ | ||
# Case-Entities | ||
# case-plugin-base | ||
[![Build and test](https://github.com/case-contract-testing/case/actions/workflows/build-and-test.yml/badge.svg?branch=main)](https://github.com/case-contract-testing/case/actions/workflows/build-and-test.yml) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/case-contract-testing/case/badge.svg?targetFile=packages/case-entities/package.json)](https://snyk.io/test/github/case-contract-testing/case?targetFile=packages/case-entities/package.json) | ||
[![Build and test](https://github.com/case-contract-testing/contract-case/actions/workflows/build-and-test.yml/badge.svg?branch=main)](https://github.com/case-contract-testing/contract-case/actions/workflows/build-and-test.yml) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/case-contract-testing/contract-case/badge.svg?targetFile=packages/case-plugin-base/package.json)](https://snyk.io/test/github/case-contract-testing/case?targetFile=packages/case-core-plugin-base/package.json) | ||
These are the shared typescript types and helpers imported by both core and | ||
boundaries. Separate to avoid a circular dependency. | ||
This package provides the base implementation and types for implementing plugins for ContractCase. | ||
You don't need to depend on this directly unless you are a maintainer for ContractCase. | ||
Use it if you are extending ContractCase with new functionality. See also [case-plugin-dsl-types],(https://www.npmjs.com/package/@contract-case/case-plugin-dsl-types), which you'll need for building the DSL that users will use to describe Case Examples with your plugin types. | ||
[Start here instead](https://case.contract-testing.io/docs/intro) | ||
[Main documentation here](https://case.contract-testing.io/docs/intro) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186574
152
2123
11
+ Added@contract-case/case-plugin-dsl-types@0.17.1(transitive)
- Removed@contract-case/case-plugin-dsl-types@0.17.0(transitive)