10 lines
216 B
TypeScript
Raw Permalink Normal View History

2025-06-21 23:30:33 +03:00
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));
});
});