e.selectedItems).to.be.empty;
              expect(table.selectedItems.inverted).to.be.false;
              done();
            });
          });

          table.querySelector('data-table-checkbox[header]').click();
        });

        it('should fire `deselecting-all-items` from checkbox', function(done) {
          table.multiSelection = true;
          table.selectAll();

          table.addEventListener('deselecting-all-items', function(e) {
            done();
          });

          table.querySele