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)}`);