Fix console errors in Draftail tests

pull/12902/head
Sage Abdullah 2025-02-20 13:51:19 +00:00
rodzic 2fb27ed018
commit f714f8d219
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 2 dodań i 0 usunięć
client/src/entrypoints/admin

Wyświetl plik

@ -116,6 +116,8 @@ describe('importing the module multiple times', () => {
// Subsequent imports (e.g. in AJAX responses)
jest.isolateModules(() => {
// Ensure stubs are loaded in the new isolated context
require('../../../tests/stubs');
require('./draftail');
});