From 26386c57998e1dfecf10fde223d7c2c31966ef4e Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Fri, 05 Aug 2022 12:59:22 +0000 Subject: [PATCH] chore: add `only` and `skip` to `itApi` function --- --- a/tests/src/util/helpers.ts +++ b/tests/src/util/helpers.ts @@ -1711,3 +1711,6 @@ }); }); } + +itApi.only = (name: string, cb: (apis: { api: ApiPromise, privateKeyWrapper: (account: string) => IKeyringPair }) => any) => itApi(name, cb, {only: true}); +itApi.skip = (name: string, cb: (apis: { api: ApiPromise, privateKeyWrapper: (account: string) => IKeyringPair }) => any) => itApi(name, cb, {skip: true}); -- gitstuff