Align Data.Raw decoding with Substrate (32-bytes) (#3573)
* Align Data.Raw decoding with Substrate (32-bytes) * CHANGELOG * Encoding test updates * provider.disconnect * Adjust provider tests * Unique connection URLs * Dangling tests * detectOpenHandles * Additional * Remove rx test (catered for by Promise wrap) * Additional cleanups to tests
This commit is contained in:
@@ -23,13 +23,13 @@
|
||||
"@polkadot/api": "4.11.3-0",
|
||||
"@polkadot/rpc-core": "4.11.3-0",
|
||||
"@polkadot/types": "4.11.3-0",
|
||||
"@polkadot/util": "^6.5.1",
|
||||
"@polkadot/util-crypto": "^6.5.1",
|
||||
"@polkadot/x-rxjs": "^6.5.1",
|
||||
"@polkadot/util": "^6.5.2-1",
|
||||
"@polkadot/util-crypto": "^6.5.2-1",
|
||||
"@polkadot/x-rxjs": "^6.5.2-1",
|
||||
"bn.js": "^4.11.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^6.5.1",
|
||||
"@polkadot/keyring": "^6.5.2-1",
|
||||
"@polkadot/rpc-provider": "4.11.3-0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,6 +39,10 @@ describe('derive', (): void => {
|
||||
api.isReady.subscribe(() => done());
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await api.disconnect();
|
||||
});
|
||||
|
||||
testFunction(api)('accounts', 'idAndIndex', []);
|
||||
testFunction(api)('accounts', 'idToIndex', []);
|
||||
testFunction(api)('accounts', 'indexes', []);
|
||||
@@ -80,7 +84,11 @@ describe('derive', (): void => {
|
||||
});
|
||||
|
||||
beforeAll((done): void => {
|
||||
api.isReady.subscribe((): void => done());
|
||||
api.isReady.subscribe(() => done());
|
||||
});
|
||||
|
||||
afterAll(async () => {
|
||||
await api.disconnect();
|
||||
});
|
||||
|
||||
// override
|
||||
|
||||
Reference in New Issue
Block a user