@putout/test 13.0.0 → 13.0.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/processor/index.js +4 -1
- package/lib/test.js +4 -1
- package/package.json +2 -2
package/lib/processor/index.js
CHANGED
|
@@ -45,7 +45,10 @@ const buildOptions = ({options, plugins, processors}) => ({
|
|
|
45
45
|
const addDot = (a) => a ? `.${a}` : '';
|
|
46
46
|
|
|
47
47
|
const fail = (t, message) => {
|
|
48
|
-
const {
|
|
48
|
+
const {
|
|
49
|
+
__putout_test_fail = t.fail,
|
|
50
|
+
} = global;
|
|
51
|
+
|
|
49
52
|
return __putout_test_fail(message);
|
|
50
53
|
};
|
|
51
54
|
|
package/lib/test.js
CHANGED
|
@@ -36,7 +36,10 @@ global.__putout_test_fs = {
|
|
|
36
36
|
const isUpdate = () => Boolean(Number(process.env.UPDATE));
|
|
37
37
|
|
|
38
38
|
const fail = (t, message) => {
|
|
39
|
-
const {
|
|
39
|
+
const {
|
|
40
|
+
__putout_test_fail = t.fail,
|
|
41
|
+
} = global;
|
|
42
|
+
|
|
40
43
|
return __putout_test_fail(message);
|
|
41
44
|
};
|
|
42
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/test",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.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 ",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"report": "madrun report"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@putout/cli-process-file": "^
|
|
41
|
+
"@putout/cli-process-file": "^3.0.0",
|
|
42
42
|
"@putout/engine-processor": "*",
|
|
43
43
|
"@putout/engine-runner": "*",
|
|
44
44
|
"@putout/eslint": "^4.0.0",
|