Skip to content

Commit

Permalink
Maybe this then
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Jun 24, 2024
1 parent 20ebabb commit 18563b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
18 changes: 0 additions & 18 deletions test/integration/virtual-rules/_testUtils.js

This file was deleted.

10 changes: 9 additions & 1 deletion test/integration/virtual-rules/summary-name.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
const { appendSerialChild } = require('./_testUtils');
function appendSerialChild(parent, child) {
if (child instanceof axe.SerialVirtualNode === false) {
child = new axe.SerialVirtualNode(child);
}
child.parent = parent;
parent.children ??= [];
parent.children.push(child);
return child;
}

describe('summary-name virtual-rule', () => {
let vDetails;
Expand Down

0 comments on commit 18563b6

Please sign in to comment.