);
            }, 50);
          });

          it('Check active', function (done) {
            var n = 1;
            tabs.active = n;

            setTimeout(function () {
              expect(
                tabs.querySelectorAll('.tab')[n].classList.contains('active')
              ).to.equal(true);
              expect(
                tabs.querySelectorAll('.tab-content')[n].style.display
              ).to.equal('block');

              done();
            }, 50);
          });
        });
      })