Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("delete", () => {
const obj = new Set(["a", "b"]);
expect(obj[Collection.delete]("b")).toBe(true);
expect([...obj]).toEqual(["a"]);
});
it("clear", () => {
it("delete", () => {
const obj = ["a", "b"];
expect(obj[Collection.delete]("b")).toBe(true);
expect(obj).toEqual(["a"]);
});
it("clear", () => {