diff --git a/integration/polkadot/events.spec.ts b/integration/polkadot/events.spec.ts index 0a701f933..fde537c11 100644 --- a/integration/polkadot/events.spec.ts +++ b/integration/polkadot/events.spec.ts @@ -40,8 +40,7 @@ describe('Deploy events contract and test event data, docs and topics', () => { expect(events[2].event.identifier).toBe("Events::ThisEventTopicShouldGetHashed"); expect(events[2].args.map(a => a.toJSON())).toEqual([alice.address]); - // We expect the 3rd event to yields the following event topics: - // + // Expect the 3rd event to yield the following event topics: // - blake2x256 sum of its signature: 'ThisEventTopicShouldGetHashed(address)' // - Address of the caller @@ -55,7 +54,6 @@ describe('Deploy events contract and test event data, docs and topics', () => { expect(events[3].args.map(a => a.toJSON())).toEqual([true]); // The 4th event yields the following event topics: - // // - blake2x256 sum of its signature: 'Event(bool)' // - unhashed data (because encoded length is <= 32 bytes) of 'true' diff --git a/integration/polkadot/package.json b/integration/polkadot/package.json index ff105d849..d05c2597f 100644 --- a/integration/polkadot/package.json +++ b/integration/polkadot/package.json @@ -4,7 +4,7 @@ "description": "Integration tests with Solang and Polkadot", "main": "index.js", "scripts": { - "test": "tsc; ts-mocha -t 20000 --exit events.spec.ts", + "test": "tsc; ts-mocha -t 20000 --exit *.spec.ts", "build": "./build.sh", "build-ink": "docker run --rm -v $(pwd)/ink/caller:/opt/contract ghcr.io/hyperledger/solang-substrate-ci:62a8a6c cargo contract build --release --manifest-path /opt/contract/Cargo.toml" },