From 527a930e6f02522edc26047c36518b3b712705cf Mon Sep 17 00:00:00 2001 From: Rodrigo Quelhas <22591718+RomarQ@users.noreply.github.com> Date: Thu, 17 Oct 2024 18:32:04 +0100 Subject: [PATCH] Fix moonriver smoke test (#3017) * Fix moonsama smoke tests * fix smoke test --- test/suites/smoke/test-old-regressions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/suites/smoke/test-old-regressions.ts b/test/suites/smoke/test-old-regressions.ts index c6e0375b5f..91da46d861 100644 --- a/test/suites/smoke/test-old-regressions.ts +++ b/test/suites/smoke/test-old-regressions.ts @@ -184,14 +184,14 @@ describeSuite({ it({ id: "C003", title: "Verify tracing works for transactions generated by all runtime versions", - test: async function (context) { + test: async function ({ skip }) { const network = paraApi.consts.system.version.specName.toString() as Network; const testSamples: TransactionRegressionCase[] = network in samples ? samples[network] : []; for (const sample of testSamples) { const chain = (await paraApi.rpc.system.chain()).toString().toLowerCase(); if (sample.network !== chain) { log(`Skipping test...`); - context.skip(); + skip(); } log(`Testing sample: ${JSON.stringify(sample.txHash)}`);