mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 01:25:36 -05:00
Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 (#16569)
This commit is contained in:
@@ -170,6 +170,7 @@ function main() {
|
||||
|
||||
// replace the default unexpected error handler to be useful during tests
|
||||
loader(['vs/base/common/errors'], function (errors) {
|
||||
// {{SQL CARBON EDIT}}
|
||||
global.window.addEventListener('unhandledrejection', event => {
|
||||
errors.onUnexpectedError(event.reason);
|
||||
event.preventDefault();
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
baseUrl: '/out',
|
||||
paths: {
|
||||
assert: '/test/unit/assert.js',
|
||||
sinon: '/node_modules/sinon/pkg/sinon-1.17.7.js'
|
||||
sinon: '/node_modules/sinon/pkg/sinon.js',
|
||||
'sinon-test': '/node_modules/sinon-test/dist/sinon-test.js'
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user