mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Fix extensions smoke test (#195264)
#193046 - add waitForWorkbenchRestored method to driver - move driver to workbench - wait for workbench to restore if command is not found
This commit is contained in:
committed by
GitHub
parent
7a10a0e89b
commit
2f51809ca3
@@ -10,7 +10,7 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const root = path.dirname(path.dirname(path.dirname(__dirname)));
|
||||
const driverPath = path.join(root, 'src/vs/platform/driver/common/driver.ts');
|
||||
const driverPath = path.join(root, 'src/vs/workbench/services/driver/common/driver.ts');
|
||||
|
||||
let contents = fs.readFileSync(driverPath, 'utf8');
|
||||
contents = /\/\/\*START([\s\S]*)\/\/\*END/mi.exec(contents)[1].trim();
|
||||
|
||||
Reference in New Issue
Block a user