message: Add Popup umount test
diff: @@ -66,9 +66,14 @@ describe("popup specs", () => {
  it("should add disable-scroll class when popup is shown", () => {
  const onClose = sandbox.spy();
  - const wrapper = mount(
  - <Popup onClose={onClose} show={true}/>,
  - );
  - expect(document.body.className).toBe("disable-scroll");
  + const wrapper = mount(<Popup onClose={onClose} show={true} />);
  + expect(document.body.classList.contains("disable-scroll")).toBe(true);
  + });
  +
  + it("should remove disable-scroll class when popup is unmounted", () => {
  + const onClose = sandbox.spy();
  + const wrapper = mount(<Popup onClose={onClose} show={true} />);
  + wrapper.unmount();
  + expect(document.body.classList.contains("disable-scroll")).toBe(false);
  });
  });
  