Skip to content

Commit 6c2cb67

Browse files
committed
fix the ui unit testing
1 parent 4b42dad commit 6c2cb67

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

console/atest-ui/src/views/__test__/store.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import {SupportedExtension, SupportedExtensions} from "../store";
17+
import { SupportedExtension, SupportedExtensions } from "../store";
1818

1919
describe("SupportedExtensions", () => {
2020
test('length check', () => {
2121
const extensions = SupportedExtensions()
22-
expect(extensions.length).toBe(6)
22+
expect(extensions.length).toBe(7)
2323
})
2424

2525
for (const extension of SupportedExtensions()) {

extensions/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Ports in extensions:
88
| Store | [git](https://github.com/LinuxSuRen/atest-ext-store-git) | 4074 |
99
| Store | [mongodb](https://github.com/LinuxSuRen/atest-ext-store-mongodb) | 4075 |
1010
| Store | [redis](https://github.com/LinuxSuRen/atest-ext-store-redis) | |
11+
| Store | [iotdb](https://github.com/LinuxSuRen/atest-ext-store-iotdb) | |
1112
| Monitor | [docker-monitor](https://github.com/LinuxSuRen/atest-ext-monitor-docker) | |
1213
| Agent | [collector](https://github.com/LinuxSuRen/atest-ext-collector) | |
1314
| Secret | [Vault](https://github.com/LinuxSuRen/api-testing-vault-extension) | |
@@ -20,6 +21,7 @@ Ports in extensions:
2021
* Finally, add the extension's name into function [SupportedExtensions](../console/atest-ui/src/views/store.ts).
2122

2223
## Naming conventions
24+
2325
Please follow the following conventions if you want to add a new store extension:
2426

2527
`store-xxx`

0 commit comments

Comments
 (0)