Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UT for components #320

Closed
diegoazh opened this issue Apr 23, 2024 · 0 comments
Closed

Add UT for components #320

diegoazh opened this issue Apr 23, 2024 · 0 comments
Labels
enhancement Improve an existing functionality requested for the community released

Comments

@diegoazh
Copy link
Owner

diegoazh commented Apr 23, 2024

We need to add UT for all components, almost basic test and improve them later.

@diegoazh diegoazh added the enhancement Improve an existing functionality requested for the community label Apr 23, 2024
diegoazh added a commit that referenced this issue Apr 24, 2024
…nd cause errors with watchers and events

* test(v3): update cypress runner to use typescript

* chore(v3): add space between lines

* refactor(v3): improve function recycling code

* fix(v3): add autocomplete-key and promise deferred pattern to autocomplete component

* test(v3): add autocomplete component test

* refactor(v3): fix typo on autocomplete word

* chore(v3): remove unnecessary console log

* chore(v3): update autocomplete slot comment

* test(v3): add autocomplete and map component tests

* test(v3): add marker component test

We also improved the map and autocomplete component tests

* test(v3): add circle component test

We also improved other tests adding unmounted tests

* test(v3): add cluster icon component test

We also improve the circle shape component tests.

* test(v3): add component test for drawing-manager

We also improved mocks on other component tests

* chore(root): add launch config to debug current test with vite

* test(v3): add component test for heatmap layer

* test(v3): add component test for info-window component

* test(v3): add component test for kml-layer component

* test(v3): add component test for polygon-shape component

* test(v3): add component test for polyline-shape component

* test(v3): add component test for street-view-panorama component

* test(v3): add tests for main.ts module

* fix(v3): remove exposed instances because they are always undefined

* test(v3): fix marker e2e tests after the last changes

* fix(v3): remove undefined instances and fix watchers

Solve: #318 #319

* test(v3): add component unit tests and fix e2e tests

Solve: #320

* chore(v3): add new script to build for development

* chore(root): update lock file

* refactor(v3): move component promises into a factory function.

* chore(root): upgrade node version on gh actions and update lock file

* chore(root): update lock file to pnpm version 9

* chore(root): update package-manager property on the root package
github-actions bot pushed a commit that referenced this issue Apr 24, 2024
## [2.1.1](gmv3_v2.1.0...gmv3_v2.1.1) (2024-04-24)

### Bug Fixes

* **v3:** remove exposed instances because they are always undefined and cause errors with watchers and events ([bdc2f86](bdc2f86)), closes [#318](#318) [#319](#319) [#320](#320)
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve an existing functionality requested for the community released
Projects
None yet
Development

No branches or pull requests

1 participant