Skip to content

Commit 0194e87

Browse files
committed
chore: use unused variable
1 parent dd59cdc commit 0194e87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test-suite.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,8 @@ module.exports = function (
13551355
test: '<a href="mailto:demo@example.com">demo</a>',
13561356
expected: '<a>demo</a>',
13571357
},
1358-
].forEach(function (test) {
1358+
];
1359+
tests.forEach(function (test) {
13591360
var str = DOMPurify.sanitize(test.test, {
13601361
ALLOWED_URI_REGEXP:
13611362
/^(?:(?:(?:f|ht)tps?):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,

0 commit comments

Comments
 (0)