Skip to content

Commit

Permalink
correct wrong filename in failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfriskics committed May 15, 2018
1 parent 770a712 commit a69dda3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ describe('BookItem.vue', () => {
const nodes = doc.childNodes;
const styles = nodes.filter(node => node.nodeName === 'style');
if (styles.length == 0) {
assert(false, "The BookList.vue file does not contain a style element.")
assert(false, "The BookItem.vue file does not contain a style element.")
}
if (styles[0].childNodes.length == 0) {
assert(false, "The BookList style tag does not contain any CSS rules.")
assert(false, "The BookItem style tag does not contain any CSS rules.")
}
const style = styles[0].childNodes[0].value;
const parsed = cssom.parse(style);
Expand Down

0 comments on commit a69dda3

Please sign in to comment.