mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -05:00
Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 (#16569)
This commit is contained in:
@@ -176,6 +176,7 @@ function loadTests(opts) {
|
||||
|
||||
// collect unexpected errors
|
||||
loader.require(['vs/base/common/errors'], function (errors) {
|
||||
// {{SQL CARBON EDIT}}
|
||||
global.window.addEventListener('unhandledrejection', event => {
|
||||
errors.onUnexpectedError(event.reason);
|
||||
event.preventDefault();
|
||||
@@ -297,6 +298,7 @@ function runTests(opts) {
|
||||
return loadTests(opts).then(() => {
|
||||
|
||||
if (opts.grep) {
|
||||
// {{SQL CARBON EDIT}}
|
||||
mocha.grep(new RegExp(opts.grep));
|
||||
if (opts.invert) {
|
||||
mocha.invert();
|
||||
|
||||
Reference in New Issue
Block a user