test: Remove unnecessary jsdom environment declarations (#2616)

This commit is contained in:
Dermot Duffy
2026-07-25 22:47:59 -07:00
committed by GitHub
parent eccf7f3b97
commit a0fd464d23
41 changed files with 0 additions and 43 deletions
@@ -53,7 +53,6 @@ import { GENERATED_ACTION } from '../../../src/config/schema/actions/custom/gene
import { INTERNAL_CALLBACK_ACTION } from '../../../src/config/schema/actions/custom/internal';
import type { ActionConfig } from '../../../src/config/schema/actions/types';
// @vitest-environment jsdom
describe('ActionFactory', () => {
it('should return null for mismatched card-id', () => {
const factory = new ActionFactory();
@@ -1,5 +1,3 @@
// @vitest-environment jsdom
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { mock } from 'vitest-mock-extended';
@@ -15,7 +15,6 @@ import { createCardAPI, createConfig, createHASS } from '../test-utils';
vi.mock('../../src/localize/localize.js');
vi.mock('../../src/ha/side-load-ha-elements.js');
// @vitest-environment jsdom
describe('InitializationManager', () => {
beforeEach(async () => {
vi.resetAllMocks();
@@ -1,4 +1,3 @@
// @vitest-environment jsdom
import { describe, expect, it } from 'vitest';
import { createRetryControl } from '../../../src/card-controller/issues/retry-control';