@putout/test 5.13.0 → 5.14.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.
@@ -55,6 +55,9 @@ const createProcess = (dir, options) => (operator) => async (filename, plugins,
55
55
  }),
56
56
  );
57
57
 
58
+ if (isUpdate())
59
+ return operator.pass('fixtures updated');
60
+
58
61
  return operator.equal(processedSource, output, 'fixtures should equal');
59
62
  };
60
63
 
@@ -120,7 +123,7 @@ async function process(filename, dir, {processors, plugins, extension, fix = tru
120
123
  processorRunners,
121
124
  });
122
125
 
123
- if (isUpdate() && !noChange)
126
+ if (isUpdate() && !noChange && fix)
124
127
  await update(outputName, processedSource);
125
128
 
126
129
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "5.13.0",
3
+ "version": "5.14.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",