Improve Test [Exporter] JSON Exporter (#11)

- [+] fix(exporter_test.go): change type of messages from map[string]interface{} to map[string]any

Reviewed-on: #11
Co-authored-by: H0llyW00dzZ <h0llyw00dzz@pm.me>
Co-committed-by: H0llyW00dzZ <h0llyw00dzz@pm.me>
This commit is contained in:
H0llyW00dzZ 2025-01-24 10:01:41 +00:00 committed by H0llyW00dzZ
parent f22bed1f12
commit 2dab893c8e

View File

@ -15,7 +15,7 @@ import (
func TestJSONExporter(t *testing.T) {
// Create a sample message
messages := []map[string]interface{}{
messages := []map[string]any{
{
"id": "1",
"from": []string{"contact@example.org"},