test: Remove unnecessary jsdom environment declarations (#2616)
This commit is contained in:
@@ -3,7 +3,6 @@ import { describe, expect, it, vi } from 'vitest';
|
||||
import { SignalingChannel } from '../../../../../src/components-lib/live/providers/go2rtc-experimental/signaling';
|
||||
import { FakeWebSocket } from './test-utils';
|
||||
|
||||
// @vitest-environment jsdom
|
||||
describe('SignalingChannel', () => {
|
||||
const setup = (options?: {
|
||||
openCallback?: () => void;
|
||||
|
||||
@@ -85,7 +85,6 @@ const calculateButtons = (
|
||||
);
|
||||
};
|
||||
|
||||
// @vitest-environment jsdom
|
||||
describe('MenuButtonController', () => {
|
||||
let controller: MenuButtonController;
|
||||
const dynamicButton: MenuItem = {
|
||||
|
||||
@@ -57,7 +57,6 @@ describe('generateViewContextForZoom', () => {
|
||||
});
|
||||
});
|
||||
|
||||
// @vitest-environment jsdom
|
||||
describe('handleZoomSettingsObservedEvent', () => {
|
||||
it('should reject observed zoom settings without viewManager ', () => {
|
||||
handleZoomSettingsObservedEvent(
|
||||
|
||||
Reference in New Issue
Block a user