Adjust test expectations (#5494)

This commit is contained in:
Jaco
2023-02-17 20:22:12 +02:00
committed by GitHub
parent 9a9bace8e8
commit d519611a25
6 changed files with 174 additions and 3 deletions
@@ -305,6 +305,7 @@ describe('Enum', (): void => {
'0x0134120000'
).inspect()
).toEqual({
inner: undefined,
outer: [new Uint8Array([0x01]), new Uint8Array([0x34, 0x12, 0x00, 0x00])]
});
});
@@ -200,6 +200,7 @@ describe('Option', (): void => {
expect(
new Option(registry, U32, '1234').inspect()
).toEqual({
inner: undefined,
outer: [new Uint8Array([0x01]), new Uint8Array([210, 4, 0, 0])]
});
});
@@ -392,6 +392,7 @@ describe('Struct', (): void => {
outer: [new Uint8Array([1 << 2]), new Uint8Array([0x99])]
},
{
inner: undefined,
name: 'bar',
outer: [new Uint8Array([1]), new Uint8Array([1, 0, 0, 0])]
},