Fix tests for isize (w/ deps bump) (#5562)
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -20,6 +20,7 @@ const UNCONSTRUCTABLE = [
|
||||
'DoNotConstruct',
|
||||
'MetadataAll',
|
||||
'Origin',
|
||||
'isize',
|
||||
'usize'
|
||||
].map((v): string => v.toLowerCase());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user