difftreelog
Create donors for seqtest and change test scripts
in: master
3 files changed
tests/package.jsondiffbeforeafterboth27 "lint": "eslint --ext .ts,.js src/",27 "lint": "eslint --ext .ts,.js src/",28 "fix": "eslint --ext .ts,.js src/ --fix",28 "fix": "eslint --ext .ts,.js src/ --fix",292930 "test": "mocha --parallel --timeout 9999999 -r ts-node/register './src/**/*.test.ts'",30 "test": "npm run testParallel && npm run testSequential",31 "testParallel": "mocha --parallel --timeout 9999999 -r ts-node/register './src/**/*.test.ts'",31 "testSequential": "mocha --timeout 9999999 -r ts-node/register './src/**/*.seqtest.ts'",32 "testSequential": "mocha --timeout 9999999 -r ts-node/register './src/**/*.seqtest.ts'",33 "testDevnode": "mocha --timeout 9999999 -r ts-node/register './src/**/*test.ts'",32 "testStructure": "mocha --parallel --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",34 "testStructure": "mocha --parallel --timeout 9999999 -r ts-node/register ./**/nesting/**.test.ts",33 "testEth": "mocha --parallel --timeout 9999999 -r ts-node/register './**/eth/**/*.test.ts'",35 "testEth": "mocha --parallel --timeout 9999999 -r ts-node/register './**/eth/**/*.test.ts'",34 "testEthNesting": "mocha --parallel --timeout 9999999 -r ts-node/register './**/eth/nesting/**/*.test.ts'",36 "testEthNesting": "mocha --parallel --timeout 9999999 -r ts-node/register './**/eth/nesting/**/*.test.ts'",tests/src/deprecated-helpers/helpers.tsdiffbeforeafterboth--- a/tests/src/deprecated-helpers/helpers.ts
+++ b/tests/src/deprecated-helpers/helpers.ts
@@ -1764,11 +1764,11 @@
return (await api.rpc.unique.collectionById(collectionId)).unwrap();
}
-/*export const describe_xcm = (
+export const describe_xcm = (
process.env.RUN_XCM_TESTS
? describe
: describe.skip
-);*/
+);
export async function waitNewBlocks(blocksCount = 1): Promise<void> {
await usingApi(async (api) => {
tests/src/util/playgrounds/globalSetup.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/globalSetup.ts
+++ b/tests/src/util/playgrounds/globalSetup.ts
@@ -63,7 +63,7 @@
let batchBalanceGrantedCounter = 0;
for (let i = 0; batchBalanceGrantedCounter < batchSize && b + i < filenames.length; i++) {
const f = filenames[b + i];
- if (!f.endsWith('.test.ts') || f.includes('.outdated')) continue;
+ if (!f.endsWith('.test.ts') && !f.endsWith('seqtest.ts') || f.includes('.outdated')) continue;
const account = await privateKey({filename: f, ignoreFundsPresence: true});
const aliceBalance = await helper.balance.getSubstrate(account.address);