@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.
- package/lib/test.js +2 -3
- 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`,
|
|
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,
|
|
308
|
+
return t.equal(code, input);
|
|
310
309
|
});
|
|
311
310
|
|
|
312
311
|
const transformCode = currify((linterOptions, options, t, input, output, isTS = false) => {
|