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 300864b2c5
commit cc2d2efec0

View File

@@ -9,6 +9,7 @@
import { Application, Controller } from '@hotwired/stimulus';
import { getByTestId, waitFor } from '@testing-library/dom';
import { afterEach, describe, expect, it } from 'vitest';
import { clearDOM, mountDOM } from '../../../../test/stimulus-helpers';
import SwupController from '../src/controller';