env0 / env0/vscode-env0

Add unit tests for existing features

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

We developed the hackathon features without unit testing. Make sure to cover ( mostly the happy flow ) the following units:

- Github Integration ( fetching current branch for example... )
- API polling including states changes
- Notification popup when the status of the environment is changed
- Changed icons of an environment ( including approve/cancel )
- Live deployment logs
- API client tests ( axios, authentication headers )
- Reading API key from settings file

Examples of unit testing can be found widely in the marketplace ( choose an extension and go to its repo )
[Official reference](https://code.visualstudio.com/api/working-with-extensions/testing-extension)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.