From c70276d84256642e7bc335743dd36fc7ecb2ed9c Mon Sep 17 00:00:00 2001 From: Erfan Nourbakhsh Date: Wed, 13 Nov 2024 05:37:33 -0500 Subject: [PATCH] Import expect from vitest in gradint unit test --- packages/mermaid/src/rendering-util/createGradient.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mermaid/src/rendering-util/createGradient.spec.ts b/packages/mermaid/src/rendering-util/createGradient.spec.ts index 5f789a5d24..deb5ed051b 100644 --- a/packages/mermaid/src/rendering-util/createGradient.spec.ts +++ b/packages/mermaid/src/rendering-util/createGradient.spec.ts @@ -1,6 +1,7 @@ import { createLinearGradient, directionMap, getGradientLineLength } from './createGradient.js'; import { select, type Selection } from 'd3'; import { JSDOM } from 'jsdom'; +import { expect } from 'vitest'; /* Global declarations for all describe blocks */