From 075e8e3a542e699777483ef56315b14c5f3fcd1a Mon Sep 17 00:00:00 2001 From: bzp2010 Date: Mon, 11 Nov 2024 10:49:04 +0800 Subject: [PATCH] test --- apps/cli/src/linter/specs/common.spec.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/apps/cli/src/linter/specs/common.spec.ts b/apps/cli/src/linter/specs/common.spec.ts index c3fcdd1..3570dbe 100644 --- a/apps/cli/src/linter/specs/common.spec.ts +++ b/apps/cli/src/linter/specs/common.spec.ts @@ -51,6 +51,25 @@ describe('Common Linter', () => { }, ], }, + { + name: 'should check custom resource id', + input: { + services: [ + { + id: 'custom-service', + name: 'test', + routes: [ + { + id: 'custom-route', + name: 'test', + uris: ['/test'], + }, + ], + }, + ], + } as ADCSDK.Configuration, + expect: true, + }, ]; // test cases runner