import { wipe } from "./wipe"; describe("wipe", () => { it("should wipe bytes", () => { const a = new Uint8Array([1, 2, 3, 4]); wipe(a); expect(a).toEqual(new Uint8Array(4)); }); });