@putout/test 6.1.0 → 6.1.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 +3 -3
  2. package/package.json +1 -1
package/lib/test.js CHANGED
@@ -43,14 +43,14 @@ const readFixture = (name) => {
43
43
  };
44
44
 
45
45
  const writeFixture = ({full, code, isTS}) => {
46
- writeAnyFixture({
46
+ writeSourceFixture({
47
47
  full: `${full}-fix`,
48
48
  code,
49
49
  isTS,
50
50
  });
51
51
  };
52
52
 
53
- const writeAnyFixture = ({full, code, isTS}) => {
53
+ const writeSourceFixture = ({full, code, isTS}) => {
54
54
  const {writeFileSync} = global.__putout_test_fs;
55
55
 
56
56
  if (!isTS)
@@ -258,7 +258,7 @@ const transform = currify(({dir, plugins, rules}, t, name, transformed = null, a
258
258
  });
259
259
 
260
260
  if (isUpdate() && isStr) {
261
- writeFixture({
261
+ writeSourceFixture({
262
262
  full,
263
263
  code,
264
264
  isTS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",