Update packages/mermaid/src/rendering-util/splitText.spec.ts

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Sidharth Vinod
2023-07-08 19:01:45 +05:30
committed by GitHub
parent 28406fc9c4
commit eca2efa46d

View File

@@ -62,7 +62,11 @@ describe('when Intl.Segmenter is available', () => {
});
});
describe('when Intl.segmenter is not available', () => {
/**
* Intl.Segmenter is not supported in Firefox yet,
* see https://bugzilla.mozilla.org/show_bug.cgi?id=1423593
*/
describe('when Intl.Segmenter is not available', () => {
beforeAll(() => {
vi.stubGlobal('Intl', { Segmenter: undefined });
});