diff --git a/codex/codex_test.go b/codex/codex_test.go index deb7cb7..060a22e 100644 --- a/codex/codex_test.go +++ b/codex/codex_test.go @@ -79,3 +79,13 @@ func TestPeerId(t *testing.T) { t.Logf("Codex PeerId: %s", peerId) } + +func TestStorageQuota(t *testing.T) { + node := newCodexNode(t, Config{ + StorageQuota: 1024 * 1024 * 1024, // 1GB + }) + + if node == nil { + t.Fatal("expected codex node to be created") + } +}