• Robert Knight's avatar
    Reduce duplication in <publish-annotation-btn> tests · 32929cc7
    Robert Knight authored
    Instead of passing a full object of attributes to
    util.createDirective() at the start of each test, render
    a default instance in beforeEach() and then just relink
    the element with the changes for a specific test.
    
    Card 89
    32929cc7
Name
Last commit
Last update
..
test Loading commit data...
annotation.coffee Loading commit data...
deep-count.coffee Loading commit data...
dropdown-menu-btn.js Loading commit data...
form-input.coffee Loading commit data...
form-validate.coffee Loading commit data...
group-list.js Loading commit data...
markdown.coffee Loading commit data...
match.coffee Loading commit data...
publish-annotation-btn.js Loading commit data...
share-dialog.coffee Loading commit data...
simple-search.coffee Loading commit data...
spinner.js Loading commit data...
status-button.coffee Loading commit data...
tab-reveal.coffee Loading commit data...
tabbable.coffee Loading commit data...
thread-filter.coffee Loading commit data...
thread.coffee Loading commit data...
window-scroll.js Loading commit data...