hunk.code_window:       dispose = disposer;
         insert(mount, () => !clean() && renderPortal()(), null);
       });
       onCleanup(() => {
         setClean(true);
         queueMicrotask(dispose);
       })
     } else {
       const container = props.isSVG
           ? document.createElementNS("http://www.w3.org/2000/svg", "g")
  
hunk.labels: keep keep keep keep replace replace replace keep keep keep
hunk.after_edit:       if (hydration && hydration.context) queueMicrotask(cleanup);
         else cleanup();
       });
  
hunk.file_path: packages/solid/web/src/index.ts
hunk.type: replace
file: import { createRoot, createSignal, createMemo } from "solid-js";
  import { delay } from "../src";
  
  describe("Delay operator", () => {
    test("simple delay", done => {
      createRoot(() => {
        const [s, set] = createSignal(),
          r = createMemo(delay(s, 10));
        expect(r()).not.toBeDefined();
        set("Hi");
        expect(r()).not.toBeDefined();
        setTimeout(() => {
          expect(r()).toBe("Hi");
          done();
        }, 15);
      });
    });
  
    test("simple delay curried", done => {
      createRoot(() => {
        const [s, set] = createSignal(),
          delayed = delay(10),
          r = createMemo(delayed(s));
        expect(r()).not.toBeDefined();
        set("Hi");
        expect(r()).not.toBeDefined();
        setTimeout(() => {
          expect(r()).toBe("Hi");
          done();
        }, 15);
      });
    });
  });
  