Skip to content

Commit

Permalink
Fix moonriver smoke test (#3017)
Browse files Browse the repository at this point in the history
* Fix moonsama smoke tests

* fix smoke test
  • Loading branch information
RomarQ authored Oct 17, 2024
1 parent 2e47202 commit 527a930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/smoke/test-old-regressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);
Expand Down

0 comments on commit 527a930

Please sign in to comment.