From 6c2cb6726fcb3ddf674453181ef3163c99e1f8eb Mon Sep 17 00:00:00 2001 From: rick Date: Thu, 27 Mar 2025 08:40:35 +0000 Subject: [PATCH] fix the ui unit testing --- console/atest-ui/src/views/__test__/store.spec.ts | 4 ++-- extensions/README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/console/atest-ui/src/views/__test__/store.spec.ts b/console/atest-ui/src/views/__test__/store.spec.ts index 49d3875..670e44b 100644 --- a/console/atest-ui/src/views/__test__/store.spec.ts +++ b/console/atest-ui/src/views/__test__/store.spec.ts @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. */ -import {SupportedExtension, SupportedExtensions} from "../store"; +import { SupportedExtension, SupportedExtensions } from "../store"; describe("SupportedExtensions", () => { test('length check', () => { const extensions = SupportedExtensions() - expect(extensions.length).toBe(6) + expect(extensions.length).toBe(7) }) for (const extension of SupportedExtensions()) { diff --git a/extensions/README.md b/extensions/README.md index f6ca271..e7a27ae 100644 --- a/extensions/README.md +++ b/extensions/README.md @@ -8,6 +8,7 @@ Ports in extensions: | Store | [git](https://github.com/LinuxSuRen/atest-ext-store-git) | 4074 | | Store | [mongodb](https://github.com/LinuxSuRen/atest-ext-store-mongodb) | 4075 | | Store | [redis](https://github.com/LinuxSuRen/atest-ext-store-redis) | | +| Store | [iotdb](https://github.com/LinuxSuRen/atest-ext-store-iotdb) | | | Monitor | [docker-monitor](https://github.com/LinuxSuRen/atest-ext-monitor-docker) | | | Agent | [collector](https://github.com/LinuxSuRen/atest-ext-collector) | | | Secret | [Vault](https://github.com/LinuxSuRen/api-testing-vault-extension) | | @@ -20,6 +21,7 @@ Ports in extensions: * Finally, add the extension's name into function [SupportedExtensions](../console/atest-ui/src/views/store.ts). ## Naming conventions + Please follow the following conventions if you want to add a new store extension: `store-xxx`