@putout/test 7.7.0 → 8.0.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 -1
- package/package.json +5 -5
package/lib/test.js
CHANGED
|
@@ -311,7 +311,6 @@ const transformWithOptions = currify((dir, options, t, name, additionalOptions)
|
|
|
311
311
|
const full = join(dir, name);
|
|
312
312
|
const [input, isTS] = readFixture(full);
|
|
313
313
|
|
|
314
|
-
const [output] = readFixture(`${full}-fix`);
|
|
315
314
|
const rule = parseRule(options);
|
|
316
315
|
|
|
317
316
|
const rules = {
|
|
@@ -330,6 +329,8 @@ const transformWithOptions = currify((dir, options, t, name, additionalOptions)
|
|
|
330
329
|
return t.pass('fixed fixture updated');
|
|
331
330
|
}
|
|
332
331
|
|
|
332
|
+
const [output] = readFixture(`${full}-fix`);
|
|
333
|
+
|
|
333
334
|
return t.equal(code, output);
|
|
334
335
|
});
|
|
335
336
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/test",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.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 ",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@putout/eslint": "^2.0.0",
|
|
44
44
|
"currify": "^4.0.0",
|
|
45
45
|
"putout": "*",
|
|
46
|
-
"supertape": "^
|
|
46
|
+
"supertape": "^9.0.0",
|
|
47
47
|
"try-catch": "^3.0.0",
|
|
48
48
|
"try-to-catch": "^3.0.0"
|
|
49
49
|
},
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"c8": "^8.0.0",
|
|
66
66
|
"eslint": "^8.0.1",
|
|
67
67
|
"eslint-plugin-n": "^16.0.0",
|
|
68
|
-
"eslint-plugin-putout": "^
|
|
68
|
+
"eslint-plugin-putout": "^22.0.0",
|
|
69
69
|
"lerna": "^6.0.1",
|
|
70
|
-
"madrun": "^
|
|
70
|
+
"madrun": "^10.0.0",
|
|
71
71
|
"mock-require": "^3.0.3",
|
|
72
72
|
"nodemon": "^3.0.1"
|
|
73
73
|
},
|
|
74
74
|
"license": "MIT",
|
|
75
75
|
"engines": {
|
|
76
|
-
"node": ">=
|
|
76
|
+
"node": ">=18"
|
|
77
77
|
},
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|