• 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
publish-annotation-btn-test.js 3.1 KB