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 352cddf commit 10b297fCopy full SHA for 10b297f
src/vs/workbench/api/test/common/extensionHostMain.test.ts
@@ -63,6 +63,7 @@ suite('ExtensionHostMain#ErrorHandler - Wrapping prepareStackTrace can cause slo
63
}]
64
);
65
66
+ const originalPrepareStackTrace = Error.prepareStackTrace;
67
const insta = new InstantiationService(collection, false);
68
69
let existingErrorHandler: (e: any) => void;
@@ -81,6 +82,10 @@ suite('ExtensionHostMain#ErrorHandler - Wrapping prepareStackTrace can cause slo
81
82
findSubstrCount = 0;
83
});
84
85
+ teardown(() => {
86
+ Error.prepareStackTrace = originalPrepareStackTrace;
87
+ });
88
+
89
test('basics', function () {
90
91
const err = new Error('test1');
0 commit comments