@putout/test 5.11.0 → 5.12.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.
- package/lib/test.js +2 -9
- package/package.json +1 -1
package/lib/test.js
CHANGED
|
@@ -219,18 +219,11 @@ const formatSave = currify(({dir, plugins, rules}, t) => async (formatter, name,
|
|
|
219
219
|
rules,
|
|
220
220
|
}, t);
|
|
221
221
|
|
|
222
|
-
const {
|
|
223
|
-
is,
|
|
224
|
-
output,
|
|
225
|
-
result,
|
|
226
|
-
} = await runFormat(formatter, name, options);
|
|
222
|
+
const {result} = await runFormat(formatter, name, options);
|
|
227
223
|
|
|
228
224
|
writeFileSync(outputName, result);
|
|
229
225
|
|
|
230
|
-
return
|
|
231
|
-
is,
|
|
232
|
-
output,
|
|
233
|
-
};
|
|
226
|
+
return t.pass('fixture updated');
|
|
234
227
|
});
|
|
235
228
|
|
|
236
229
|
const transform = currify(({dir, plugins, rules}, t, name, transformed = null, addons = {}) => {
|