@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Function createFakeEnvironment

    • Creates a fake environment.

      Defaults to a supported local desktop workspace so feature tests state only exceptional compatibility facts. A test specifically about environment assumptions should pass every relevant field explicitly.

      Parameters

      Returns FakeEnvironment

      const environment = createFakeEnvironment({ isTrusted: false });
      // or later:
      environment._set({ uiKind: 'web' });