withMockingEnabled(_:)

    Enables mocking for the duration of f with a clean trace queue Restores prior mocking status and trace queue after execution

    Mocking.swift:120

    This declaration is gated by at least one @_spi attribute.

    static func withMockingEnabled(_ f: (MockingDriver) throws -> Void) rethrows

    Other members in extension

    Type members

    Show system interfaces (2)

    Hide system interfaces

    Instance members

    Show system interfaces (2)

    Hide system interfaces