first try
This commit is contained in:
Родитель
1418032857
Коммит
d4330a34a1
|
@ -16,7 +16,8 @@ export function getDotnetVerifiedTemplateIds(version: string): RegExp[] {
|
|||
'ServiceBusTopicTrigger',
|
||||
'ServiceBusQueueTrigger',
|
||||
'CosmosDBTrigger',
|
||||
'EventGridTrigger'
|
||||
'EventGridTrigger',
|
||||
'EventGridCloudEventTrigger',
|
||||
];
|
||||
|
||||
if (version === FuncVersion.v1) {
|
||||
|
|
|
@ -81,6 +81,13 @@ function addSuite(version: FuncVersion, targetFramework: string, source: Templat
|
|||
'TestCompany.TestFunction'
|
||||
]
|
||||
},
|
||||
{
|
||||
functionName: 'Event Grid Cloud Event trigger',
|
||||
inputs: [
|
||||
'TestCompany.TestFunction'
|
||||
],
|
||||
skip: isIsolated
|
||||
},
|
||||
{
|
||||
functionName: 'Azure Event Hub trigger',
|
||||
inputs: [
|
||||
|
|
|
@ -30,8 +30,8 @@ function addSuite(source: TemplateSource | undefined): void {
|
|||
{ language: ProjectLanguage.JavaScript, version: FuncVersion.v4, expectedCount: 16 },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v1, expectedCount: 12 },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v2, expectedCount: 11 },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v3, expectedCount: 12, projectTemplateKey: 'netcoreapp3.1' },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 12, projectTemplateKey: 'net6.0' },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v3, expectedCount: 13, projectTemplateKey: 'netcoreapp3.1' },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 15, projectTemplateKey: 'net6.0' },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 10, projectTemplateKey: 'net6.0-isolated' },
|
||||
{ language: ProjectLanguage.CSharp, version: FuncVersion.v4, expectedCount: 10, projectTemplateKey: 'net7.0-isolated' },
|
||||
{ language: ProjectLanguage.Python, version: FuncVersion.v2, expectedCount: 12 },
|
||||
|
|
Загрузка…
Ссылка в новой задаче