it('encodes correctly', (): void => {
    expect(
      new TextEncoder().encode('abc')
    ).toEqual(new Uint8Array([97, 98, 99]));
  });