• Produces a shell session for you, can be used within a describe block. Please use describe.sequential as the RShell does not fare well with parallelization.

    Parameters

    • fn: (shell: RShell) => void

      function to use the shell

    • newShell: boolean = false

      whether to create a new shell or reuse a global shell instance for the tests

    Returns () => void