  it('should not warn about invalid path without dots', done => {
          const _warn = console.warn;
          const spy = console.warn = sinon.spy();

          listenOnce(filter, 'filter-changed', e => {
            setTimeout(() => {
              console.warn = _warn;
              expect(spy.called).to.be.false;
              done();
            });
          });

          filter.path = 'foobar';
        });
      });
    });
  </script>

</body>

</html>
