Explicitly import Vitest APIs instead of relying on globals

This commit is contained in:
Hugo Alliaume
2025-07-20 12:32:48 +02:00
parent 4d418ae89e
commit e58dc6e4f9

View File

@@ -1,5 +1,6 @@
import { Application } from '@hotwired/stimulus';
import { getByTestId, waitFor } from '@testing-library/dom';
import { afterEach, beforeEach, describe, expect, it } from 'vitest';
import { clearDOM, mountDOM } from '../../../../test/stimulus-helpers';
import AbstractMapController from '../src/abstract_map_controller.ts';