@putout/plugin-tape 9.4.0 → 9.5.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/README.md CHANGED
@@ -336,7 +336,7 @@ test('copymitter', async (t) => {
336
336
 
337
337
  ## apply-stub
338
338
 
339
- Apply [stub](https://github.com/cloudcmd/stub) functions created. Look how it works in [Putout Editor](https://putout.cloudcmd.io/#/gist/d098a8c8d03a072a7f3981e3cfb1d7af/f1542bfa39513ac625b2a9cd9243cc06dee286c0).
339
+ Apply [stub](https://github.com/cloudcmd/stub) functions created. Look how it works in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/d098a8c8d03a072a7f3981e3cfb1d7af/f1542bfa39513ac625b2a9cd9243cc06dee286c0).
340
340
 
341
341
  ### ❌ Example of incorrect code
342
342
 
@@ -354,7 +354,7 @@ const d = async () => {
354
354
 
355
355
  ```js
356
356
  const a = stub().resolves(true);
357
- const b = stub().resolves();
357
+ const b = stub().resolves();
358
358
 
359
359
  const c = stub().rejects(Error('hello'));
360
360
  const d = stub().rejects(Error('hello'));
@@ -7,6 +7,12 @@ module.exports = addArgs({
7
7
  t: ['t', [
8
8
  'test("__a", (__args) => __body)',
9
9
  'test("__a", async (__args) => __body)',
10
+
11
+ 'test.only("__a", (__args) => __body)',
12
+ 'test.only("__a", async (__args) => __body)',
13
+
14
+ 'test.skip("__a", (__args) => __body)',
15
+ 'test.skip("__a", async (__args) => __body)',
10
16
  ],
11
17
  ],
12
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-tape",
3
- "version": "9.4.0",
3
+ "version": "9.5.0",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "putout plugin helps with tests",