difftreelog
tests(xcm): fix parallelization issues with xcm detection
in: master
3 files changed
tests/src/deprecated-helpers/helpers.tsdiffbeforeafterboth1764 return (await api.rpc.unique.collectionById(collectionId)).unwrap();1764 return (await api.rpc.unique.collectionById(collectionId)).unwrap();1765}1765}176617661767export const describeXCM = (1767export async function describeXCM(title: string, fn: (this: Mocha.Suite) => void, opts: {skip?: boolean} = {}) {1768 process.env.RUN_XCM_TESTS1768 (process.env.RUN_XCM_TESTS && !opts.skip1769 ? describe1769 ? describe1770 : describe.skip1770 : describe.skip)(title, fn);1771);1771}17721773describeXCM.skip = (name: string, fn: (this: Mocha.Suite) => void) => describeXCM(name, fn, {skip: true});177217741773export async function waitNewBlocks(blocksCount = 1): Promise<void> {1775export async function waitNewBlocks(blocksCount = 1): Promise<void> {1774 await usingApi(async (api) => {1776 await usingApi(async (api) => {tests/src/xcm/xcmOpal.test.tsdiffbeforeafterboth--- a/tests/src/xcm/xcmOpal.test.ts
+++ b/tests/src/xcm/xcmOpal.test.ts
@@ -69,6 +69,7 @@
before(async () => {
+ console.log('hey babe its opal');
await usingApi(async (api, privateKeyWrapper) => {
alice = privateKeyWrapper('//Alice');
bob = privateKeyWrapper('//Bob'); // funds donor
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth--- a/tests/src/xcm/xcmQuartz.test.ts
+++ b/tests/src/xcm/xcmQuartz.test.ts
@@ -76,6 +76,7 @@
let balanceQuartzForeignTokenFinal: bigint;
before(async () => {
+ console.log('hey babe');
await usingApi(async (api, privateKeyWrapper) => {
const keyringSr25519 = new Keyring({type: 'sr25519'});
@@ -434,7 +435,6 @@
});
describeXCM('[XCM] Integration test: Exchanging QTZ with Moonriver', () => {
-
// Quartz constants
let quartzAlice: IKeyringPair;
let quartzAssetLocation;