@salesforce/salesforcedx-vscode-test-tools
Version:
Test automation framework for Salesforce Extensions for VS Code
18 lines (17 loc) • 689 B
TypeScript
/**
* Creates a Lightning Web Component with the specified name
* Generates JS, HTML, and test files with sample content
* Sets breakpoints in the test file
*
* @param name - The name of the LWC to create
* @param folder - The folder where the LWC should be created
*/
export declare function createLwc(name: string, folder: string): Promise<void>;
/**
* Creates an Aura component with the specified name
* Generates component markup with a simple contact form
*
* @param name - The name of the Aura component to create
* @param folder - The folder where the Aura component should be created
*/
export declare function createAura(name: string, folder: string): Promise<void>;