@putout/test 15.6.0 → 15.6.1

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.
Files changed (2) hide show
  1. package/lib/test.js +2 -3
  2. package/package.json +1 -1
package/lib/test.js CHANGED
@@ -281,9 +281,8 @@ const noTransform = currify((dir, linterOptions, options, t, name, addons = {})
281
281
 
282
282
  const full = join(dir, name);
283
283
  const [input, isTS, currentExtension] = readFixture(full, extension, extensionFix);
284
- const [fixture] = readFixture(full, currentExtension);
285
284
 
286
- rmFixture(`${full}-fix`, extensionFix);
285
+ rmFixture(`${full}-fix`, currentExtension);
287
286
 
288
287
  const {plugins} = options;
289
288
 
@@ -306,7 +305,7 @@ const noTransform = currify((dir, linterOptions, options, t, name, addons = {})
306
305
  return t.pass('source fixture updated');
307
306
  }
308
307
 
309
- return t.equal(code, fixture);
308
+ return t.equal(code, input);
310
309
  });
311
310
 
312
311
  const transformCode = currify((linterOptions, options, t, input, output, isTS = false) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "15.6.0",
3
+ "version": "15.6.1",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",