import { Workbench } from "vscode-extension-tester" ; describe ( 'Sample Command palette tests' , ( ) => { it ( 'using executeCommand' , async ( ) => { await new Workbench ( ) . executeCommand ( 'hello world' ) ; } ) ; it ( 'using the command prompt' , async ( ) => { const prompt = await new Workbench ( ) . openCommandPrompt ( ) ; await prompt . setText ( '>hello world' ) ; await prompt . confirm ( ) ; } ) ; } ) ;