From 353e9a991017c1e1e23c300379a1a341e147bae8 Mon Sep 17 00:00:00 2001 From: Nicklas Gummesson Date: Sun, 11 Nov 2018 10:25:42 -0800 Subject: [PATCH] Fix resolver --- scripts/snapshotResolver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/snapshotResolver.js b/scripts/snapshotResolver.js index 8b4daab..32547eb 100644 --- a/scripts/snapshotResolver.js +++ b/scripts/snapshotResolver.js @@ -22,7 +22,7 @@ module.exports = { /** resolves from snapshot to test path */ resolveTestPath: (snapshotFilePath, snapshotExtension) => { const result = snapshotFilePath - .replace("src/", "dist/") + .replace("dist/", "src/") .replace(distDir, rootDir) .slice(0, -snapshotExtension.length); debug("snapshotFilePath", snapshotFilePath, snapshotExtension, result);