using NATS.Server.TestUtilities;
namespace NATS.Server.JetStream.Tests;

public class JetStreamStartupTests
{
    [Fact]
    public async Task JetStream_enabled_server_starts_service()
    {
        await using var server = await TestServerFactory.CreateJetStreamEnabledAsync();
        await server.WaitForReadyAsync();

        server.Stats.JetStreamEnabled.ShouldBeTrue();
    }
}
