in src/eventSubscription/commands/mock/MockCodeLensProvider.ts [12:33]
public async provideCodeLenses(document: TextDocument, _token: CancellationToken): Promise<CodeLens[]> {
return [
{
command: {
title: localize('sendEvents', 'Send Events'),
command: 'azureEventGridSubscription.sendEvents',
arguments: [document.uri]
},
range: new Range(new Position(0, 0), new Position(0, 0)),
isResolved: true
},
{
command: {
title: localize('previewEvents', 'Preview Events'),
command: 'azureEventGridSubscription.previewEvents',
arguments: [document.uri]
},
range: new Range(new Position(0, 0), new Position(0, 0)),
isResolved: true
}
];
}