mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 01:39:53 +02:00
Update packages/mermaid/src/rendering-util/splitText.spec.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
Reference in New Issue
Block a user