Fix tests for isize (w/ deps bump) (#5562)

This commit is contained in:
Jaco
2023-03-24 13:56:55 +02:00
committed by GitHub
parent 6ce7deb1df
commit 7366fc201d
8 changed files with 112 additions and 145 deletions
@@ -37,7 +37,7 @@ describe('ExtrinsicEra', (): void => {
expect(extrinsicEra.asMortalEra.phase.toNumber()).toEqual(120);
});
it.only('serializes and de-serializes from JSON', (): void => {
it('serializes and de-serializes from JSON', (): void => {
const extrinsicEra = new ExtrinsicEra(registry, new Uint8Array([78, 156]));
const u8a = extrinsicEra.toU8a();
const json = extrinsicEra.toJSON();
+1
View File
@@ -20,6 +20,7 @@ const UNCONSTRUCTABLE = [
'DoNotConstruct',
'MetadataAll',
'Origin',
'isize',
'usize'
].map((v): string => v.toLowerCase());