jest-serializer-path
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -5,3 +5,3 @@ 'use strict' | ||
const dirname = __dirname.substring(0, __dirname.indexOf('/node_modules/') + 1) | ||
const dirname = __dirname.substring(0, __dirname.indexOf('/node_modules/')) | ||
@@ -14,3 +14,3 @@ module.exports = { | ||
// eslint-disable-next-line | ||
val = val.replace(dirname, '<PROJECT_ROOT>/') | ||
val = val.split(dirname).join('<PROJECT_ROOT>') | ||
@@ -25,3 +25,3 @@ } | ||
// eslint-disable-next-line | ||
val[key] = val[key].replace(dirname, '<PROJECT_ROOT>/') | ||
val[key] = val[key].split(dirname).join('<PROJECT_ROOT>') | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "jest-serializer-path", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "tribou", |
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
113110
12