mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Update to Electron v2.0.0-beta.6 (#46552)
* electron@2.0.0-beta-1 * Update distro * Update electron.d.ts to 2.0.0-beta.1 * Disable asar as it causes a native crash * Adopt Module._resolveLookupPaths ASAR patch * electron 2.x - restore inspector URL in extension host * electron 2.x - adopt context menu callback for onHide * electron 2.x - remove workaround for https://github.com/electron/electron/issues/10442 * electron 2.x - update node.d.ts * electron 2.x - update node.d.ts to 8.9.x * electron 2.x - keep node.d.ts changes to a minimum * electron 2.x - remove workaround for https://github.com/electron/electron/issues/10862 * electron 2.x - bump to 2.0.0-beta2 * bump to 2.0.0-beta.3 * Context menu: selecting "Rename" does not put focs into rename box (fix #45601) * quality "exploration" for easier testing * empty commit * push a workaround for #45700 * Certain themes show UI artifacts over activity bar icons (fixes #45700) * better fix for #45700 * bump to 2.0.0-beta.4 * another fix to prevent flickering for #45700 * avoid remote access in index.js * bump distro commit * electron 2.x - do not use --debug anymore * bump electron to 2.0.0-beta.5 * electron 2.x - add libgtk-3-dev as build dependency for Linux 64 * electron 2.x - workaround freeze on linux on startup * bump local storage telemetry key * electron 2.x - do a one time backup of local storage * enable ELECTRON_ENABLE_LOGGING on macOS at least * 2.0.0-beta.6 * Fix ctrl+shift+e not focusing explorer on Linux * distro - use GH electron builds for now
This commit is contained in:
committed by
Benjamin Pasero
parent
ef55294a20
commit
88603b377d
@@ -16,9 +16,9 @@ suite('Cache', () => {
|
||||
const cache = new Cache(() => TPromise.as(counter++));
|
||||
|
||||
return cache.get()
|
||||
.then(c => assert.equal(c, 0), () => assert.fail())
|
||||
.then(c => assert.equal(c, 0), () => assert.fail('Unexpected assertion error'))
|
||||
.then(() => cache.get())
|
||||
.then(c => assert.equal(c, 0), () => assert.fail());
|
||||
.then(c => assert.equal(c, 0), () => assert.fail('Unexpected assertion error'));
|
||||
});
|
||||
|
||||
test('simple error', () => {
|
||||
@@ -26,9 +26,9 @@ suite('Cache', () => {
|
||||
const cache = new Cache(() => TPromise.wrapError(new Error(String(counter++))));
|
||||
|
||||
return cache.get()
|
||||
.then(() => assert.fail(), err => assert.equal(err.message, 0))
|
||||
.then(() => assert.fail('Unexpected assertion error'), err => assert.equal(err.message, 0))
|
||||
.then(() => cache.get())
|
||||
.then(() => assert.fail(), err => assert.equal(err.message, 0));
|
||||
.then(() => assert.fail('Unexpected assertion error'), err => assert.equal(err.message, 0));
|
||||
});
|
||||
|
||||
test('should retry cancellations', () => {
|
||||
|
||||
Reference in New Issue
Block a user