Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should create a new BreadCrumbs instance', () => {
const bread = new BreadCrumbs({ model });
expect(bread).to.be.an.instanceof(BreadCrumbs);
const items = crumbs.node.querySelectorAll(ITEM_QUERY);
expect(items.length).to.equal(1);
});