Commit Graph

10 Commits

Author SHA1 Message Date
Vladimír Gorej
80d56c9518 feat: apply cumulative update to address various issues (#10324) 2025-02-27 11:12:42 +01:00
Vladimír Gorej
7addbd0eb5 test: consolidate unit tests (#9588)
All mocha tests have been migrated to Jest tests.

Closes #9564
2024-02-14 11:39:40 +01:00
Vladimír Gorej
edd1153723 feat: expose plugins and presets on SwaggerUI global symbol (#9189)
Part of this commit is also:
- complete plugins consolidation
- complete presets consolidation
- build system consolidation

Refs #9188
2023-09-05 09:56:51 +02:00
Vladimír Gorej
565aed71a5 chore(deps-dev): bump sinon from 15.1.0 to 15.2.0 (#9021)
Closes #8948
2023-07-14 14:15:48 +02:00
Tim Lai
b89e88579c fix(jsdom): cumulative Jest updates with support for TextEncoder/TextDecoder (#8111) 2022-07-20 13:15:06 -07:00
Vladimir Gorej
8b1c4a7c1a feat(error-handling): introduce unified and configurable error handling (#7761)
Refs #7778
2022-01-24 16:12:13 +01:00
Vladimir Gorej
747038029a revert: bump serialize-error from 8.1.0 to 9.0.0 (#7670)
Refs 7049015
Refs #7670
2022-01-19 14:39:08 +01:00
Vladimir Gorej
70490150ed chore(deps): bump serialize-error from 8.1.0 to 9.0.0 (#7670)
* chore(deps): bump serialize-error from 8.1.0 to 9.0.0

Closes #7662

Co-authored-by: Tim Lai <timothy.lai@gmail.com>
2022-01-18 13:12:49 -08:00
Vladimir Gorej
b299be764f fix: introduce Error Boundaries to handle unexpected failures (#7671)
Two new components have been updated via plugin system: ErrorBoundary and Fallback.
These components can be overridden by user plugins.

Refs #7647
2021-11-25 13:47:22 +01:00
Tim Lai
1a27c0a8bd feat: migrate unit tests to Jest (#6353)
* config(jest): updated setup
* config(jest): update testMatch to include jsx files
* config(jest): add transformIgnorePatterns
* config(jest): update ignore files that do not work in jest yet
* config: add test:unit-jest to test script

* fix(jest): lint with eslint-plugin-jest

* refactor(jest): move unit test directory
* refactor(mocha): restore mocha tests that fail in jest

* docs(jest): update helpful scripts with test:unit-jest
2020-09-01 10:41:01 -07:00