@putout/test 13.0.1 → 13.1.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.
Files changed (3) hide show
  1. package/README.md +11 -0
  2. package/lib/test.js +1 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -200,6 +200,17 @@ test('plugin-putout: check-replace-code: no report: typescript', (t) => {
200
200
  });
201
201
  ```
202
202
 
203
+ ### `noReportCode(filename)`
204
+
205
+ Check error message of a plugin not produces
206
+
207
+ ```js
208
+ test('plugin-putout: check-replace-code: no report: import', (t) => {
209
+ t.noReportCode(`import a from 'a'`);
210
+ t.end();
211
+ });
212
+ ```
213
+
203
214
  ### `noReportAfterTransform(filename)`
204
215
 
205
216
  Check error message of a plugin not produced
package/lib/test.js CHANGED
@@ -129,6 +129,7 @@ function createTest(dir, maybeOptions) {
129
129
  reportWithOptions: reportWithOptions(dir, lint, options),
130
130
  noReportWithOptions: noReportWithOptions(dir, lint, options),
131
131
  reportCode: reportCode(lint, options),
132
+ noReportCode: noReportCode(lint, options),
132
133
  format: formatSave(dir, options),
133
134
  formatMany: formatManySave(dir, options),
134
135
  noFormat: noFormat(dir, options),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "13.0.1",
3
+ "version": "13.1.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 ",