fix the ui unit testing

This commit is contained in:
rick 2025-03-27 08:40:35 +00:00
parent 4b42dadc50
commit 6c2cb6726f
2 changed files with 4 additions and 2 deletions

View File

@ -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()) {

View File

@ -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`