We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52d631 commit f593d14Copy full SHA for f593d14
src/browser/Linkifier.ts
@@ -89,7 +89,9 @@ export class Linkifier implements ILinkifier {
89
if (this._rowsTimeoutId) {
90
clearTimeout(this._rowsTimeoutId);
91
}
92
- this._rowsTimeoutId = window.setTimeout(() => this._linkifyRows(), Linkifier._timeBeforeLatency);
+
93
+ // Cannot use window.setTimeout since tests need to run in node
94
+ this._rowsTimeoutId = setTimeout(() => this._linkifyRows(), Linkifier._timeBeforeLatency) as any as number;
95
96
97
/**
0 commit comments