Commit Graph

23 Commits

Author SHA1 Message Date
Dylan O'Gara 2f138626ff Create mocked APIs each time build is called
Signed-off-by: Dylan O'Gara <dogara@webstaurantstore.com>
2024-04-02 12:34:15 -04:00
Camila Belo 13c680c165 refactor: use broadcast channel again
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-18 17:31:25 +01:00
Camila Belo aaab35ee17 refactor: apply second round of suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-15 13:52:59 +01:00
Camila Belo b806745876 refactor: apply review suggestions
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-15 13:52:59 +01:00
Camila Belo 43bf40c812 fix: techdocs cookie mocking date
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:53:51 +01:00
Camila Belo 54fb704d19 test: add issue user cookie mock
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2024-03-12 09:00:51 +01:00
Fredrik Adelöw 5d796829bb lint for illegal role-to-role dependency chains
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2023-11-21 17:08:40 +01:00
Patrik Oldsberg 80a79cc1e7 plugins: rtl 13 fixes for tests
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2023-10-18 09:37:03 +02:00
blam 018553e29f chore: remove cross-fetch dep from plugins
Signed-off-by: blam <ben@blam.sh>
2023-06-13 16:25:53 +02:00
Philipp Hugenroth 2a34253e2a Fix tsc & build api-reports
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-05-23 16:11:14 +02:00
Philipp Hugenroth 8e88caa029 Simplify PR after review
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-05-23 16:11:14 +02:00
Philipp Hugenroth 103cd94ef1 Fix TechDocs test
Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
2023-05-23 16:11:14 +02:00
Morgan Bentell ab4e68032d remove unused import
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-02-21 13:50:08 +01:00
Morgan Bentell 3ab1b8fcae avoid wrapping addons when rendering them in a test setting, the levels of nesting is very sensitive due to TechDocsReaderPage.tsx, this will result in a more realistic component tree
Signed-off-by: Morgan Bentell <mbentell@spotify.com>
2023-02-21 13:32:45 +01:00
Phil Kuang d047d81295 feat(techdocs): use entity title as label in header
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-06-07 07:43:04 -04:00
Eric Peterson b859092abf Better document the TechDocsAddonTester
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 13:38:04 +02:00
Eric Peterson 614bd96e2a Fix typing on withApis() when multiple APIs provided
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-11 09:19:04 +02:00
Eric Peterson f84e0e2818 Allow Addons that affect img tags to be tested
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-09 16:54:10 +02:00
Eric Peterson 7c398c6473 Allow TechDocsAddonTester to be extended.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-05-09 14:50:33 +02:00
Anders Näsman 640f79a781 mock scmIntegrationsApi
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-29 13:31:21 +02:00
Anders Näsman dad4e7ca49 @ignore types and do not export them
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:14:36 +02:00
Anders Näsman f010dc30b7 review feedback
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:14:32 +02:00
Anders Näsman 54f06e9c00 addons test-utils
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
2022-04-27 13:10:34 +02:00