@caitp You can also test that the datepicker is not appended inside the div. `expect(elm.children().length).toEqual(1);`