afterEach(function() {
//    clear blocks
    nb.destroy();
//    $('.content').empty();
    $('body > .nb-select__dropdown, body > .ui-dialog').remove();
});

afterEach(function() {
//    clear blocks
    nb.destroy();
    $('.content').empty();
    $('body > .nb-select__dropdown, body > .ui-dialog').remove();
});

test fix