chore: browser: Linkifier: increment

This commit is contained in:
coderaiser
2021-05-17 17:45:35 +03:00
parent 91a79e9dee
commit ea7f89842a
+1 -1
View File
@@ -210,7 +210,7 @@ describe('Linkifier', () => {
let count = 0;
linkifier.registerLinkMatcher(/test/, () => assert.fail(), {
validationCallback: (url, cb) => {
++count;
count++;
if (count === 2) {
done();
}