Commit Graph

17 Commits

Author SHA1 Message Date
Timo K
ded6e4c1a0 fix tests dep optimization issues 2026-05-11 19:50:32 +02:00
Timo K
7ca890ea53 Delete vitest.setup.ts 2026-05-11 19:08:45 +02:00
Timo K
bc2be4dfab test in CI 2026-05-11 18:44:16 +02:00
Timo K
20d14fa4e0 use vite storybook plugin for storybook tests.
run via pnpm test:storybook
2026-05-11 16:40:05 +02:00
Timo K
2ae1df467d knip 2026-04-14 14:30:46 +02:00
Timo K
400259207e Also use CallFooter for lobby 2026-04-14 13:25:33 +02:00
Timo K
f75e91fc2b move show footer logic to callViewModel
Also remove header prop. This is accesible via urlParams.
2026-04-10 18:27:24 +02:00
Robin
2de151d94d Set up Storybook again 2026-03-30 18:26:38 +02:00
Robin
5eaabcf74d Clean up our tests in preparation for the testing sprint (#2466)
* Fix coverage reporting

Codecov hasn't been working recently because Vitest doesn't report coverage by default.

* Suppress some noisy log lines

Closes https://github.com/element-hq/element-call/issues/686

* Store test files alongside source files

This way we benefit from not having to maintain the same directory structure twice, and our linters etc. will actually lint test files by default.

* Stop using Vitest globals

Vitest provides globals primarily to make the transition from Jest more smooth. But importing its functions explicitly is considered a better pattern, and we have so few tests right now that it's trivial to migrate them all.

* Remove Storybook directory

We no longer use Storybook.

* Configure Codecov

Add a coverage gate for all new changes and disable its comments.

* upgrade vitest

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-27 15:45:39 +02:00
Robin
614bc82402 Format code 2023-10-11 10:42:04 -04:00
Robin Townsend
17450b4531 Fix big grid crashing due to missing React import
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
2023-06-30 18:21:18 -04:00
Robert Long
72197c1a0a Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
Robert Long
dec47d21c0 Merge branch 'main' into robertlong/spotlight-layout 2022-02-02 15:15:39 -08:00
Robert Long
d6fb0e836d Fix storybook 2022-01-21 15:42:21 -08:00
Robert Long
19fe760833 Add VideoGrid storybook 2022-01-07 16:20:55 -08:00
Robert Long
eb620e9220 Refactor header 2021-12-23 14:40:23 -08:00
Robert Long
87e5cafb77 Add storybook 2021-12-23 12:45:00 -08:00