jest-schema-matcher
Advanced tools
Comparing version 1.7.6 to 1.7.7
@@ -0,1 +1,8 @@ | ||
## [1.7.7](https://github.com/ryparker/jest-schema-matcher/compare/v1.7.6...v1.7.7) (2020-08-27) | ||
### Bug Fixes | ||
* **fixing regex replacement:** .replace() does not mutate, so we need to assign the value ([f95e533](https://github.com/ryparker/jest-schema-matcher/commit/f95e533adef9581f29c04dde7158be95801bd494)) | ||
## [1.7.6](https://github.com/ryparker/jest-schema-matcher/compare/v1.7.5...v1.7.6) (2020-08-27) | ||
@@ -2,0 +9,0 @@ |
@@ -80,3 +80,3 @@ "use strict"; | ||
function findSchema(testPath, schemaName) { | ||
testPath.replace('\\', '/'); | ||
testPath = testPath.replace('\\', '/'); | ||
const testDir = testPath.replace(/(?<=\/)[\w-.]*\.test\.ts/gm, ''); | ||
@@ -83,0 +83,0 @@ const schemaDir = path_1.default.resolve(testDir, 'schemas'); |
{ | ||
"name": "jest-schema-matcher", | ||
"version": "1.7.6", | ||
"version": "1.7.7", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
19520