From 92a3c640f5c509824157b8bdbf7578d3f66b00b3 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 14 Oct 2022 11:50:06 +0000 Subject: [PATCH] fix: describeXcm fn --- --- a/tests/src/util/playgrounds/index.ts +++ b/tests/src/util/playgrounds/index.ts @@ -105,8 +105,8 @@ itSubIfWithPallet.skip = (name: string, required: string[], cb: (apis: { helper: DevUniqueHelper, privateKey: (seed: string) => IKeyringPair }) => any) => itSubIfWithPallet(name, required, cb, {skip: true}); itSub.ifWithPallets = itSubIfWithPallet; -export const describeXcm = ( - process.env.RUN_XCM_TESTS - ? describe - : describe.skip -); +export async function describeXcm(name: string, cb: () => any) { + ( + process.env.RUN_XCM_TESTS ? describe : describe.skip + )(name, cb); +} -- gitstuff