fix the ui unit testing
This commit is contained in:
parent
4b42dadc50
commit
6c2cb6726f
|
@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {SupportedExtension, SupportedExtensions} from "../store";
|
import { SupportedExtension, SupportedExtensions } from "../store";
|
||||||
|
|
||||||
describe("SupportedExtensions", () => {
|
describe("SupportedExtensions", () => {
|
||||||
test('length check', () => {
|
test('length check', () => {
|
||||||
const extensions = SupportedExtensions()
|
const extensions = SupportedExtensions()
|
||||||
expect(extensions.length).toBe(6)
|
expect(extensions.length).toBe(7)
|
||||||
})
|
})
|
||||||
|
|
||||||
for (const extension of SupportedExtensions()) {
|
for (const extension of SupportedExtensions()) {
|
||||||
|
|
|
@ -8,6 +8,7 @@ Ports in extensions:
|
||||||
| Store | [git](https://github.com/LinuxSuRen/atest-ext-store-git) | 4074 |
|
| Store | [git](https://github.com/LinuxSuRen/atest-ext-store-git) | 4074 |
|
||||||
| Store | [mongodb](https://github.com/LinuxSuRen/atest-ext-store-mongodb) | 4075 |
|
| Store | [mongodb](https://github.com/LinuxSuRen/atest-ext-store-mongodb) | 4075 |
|
||||||
| Store | [redis](https://github.com/LinuxSuRen/atest-ext-store-redis) | |
|
| 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) | |
|
| Monitor | [docker-monitor](https://github.com/LinuxSuRen/atest-ext-monitor-docker) | |
|
||||||
| Agent | [collector](https://github.com/LinuxSuRen/atest-ext-collector) | |
|
| Agent | [collector](https://github.com/LinuxSuRen/atest-ext-collector) | |
|
||||||
| Secret | [Vault](https://github.com/LinuxSuRen/api-testing-vault-extension) | |
|
| 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).
|
* Finally, add the extension's name into function [SupportedExtensions](../console/atest-ui/src/views/store.ts).
|
||||||
|
|
||||||
## Naming conventions
|
## Naming conventions
|
||||||
|
|
||||||
Please follow the following conventions if you want to add a new store extension:
|
Please follow the following conventions if you want to add a new store extension:
|
||||||
|
|
||||||
`store-xxx`
|
`store-xxx`
|
||||||
|
|
Loading…
Reference in New Issue