chore: browser: Linkifier: increment
This commit is contained in:
@@ -210,7 +210,7 @@ describe('Linkifier', () => {
|
|||||||
let count = 0;
|
let count = 0;
|
||||||
linkifier.registerLinkMatcher(/test/, () => assert.fail(), {
|
linkifier.registerLinkMatcher(/test/, () => assert.fail(), {
|
||||||
validationCallback: (url, cb) => {
|
validationCallback: (url, cb) => {
|
||||||
++count;
|
count++;
|
||||||
if (count === 2) {
|
if (count === 2) {
|
||||||
done();
|
done();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user