Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsideguide committed Aug 15, 2024
1 parent 6bef7c7 commit ebd7945
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions firecrawl_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package firecrawl

import (
"log"
"os"
"testing"
"time"

"github.com/google/uuid"
"github.com/joho/godotenv"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand All @@ -16,11 +14,7 @@ var API_URL string
var TEST_API_KEY string

func init() {
err := godotenv.Load()
if err != nil {
log.Fatalf("Error loading .env file: %v", err)
}
API_URL = os.Getenv("API_URL")
API_URL = "http://127.0.0.1:3002"
TEST_API_KEY = os.Getenv("TEST_API_KEY")
}

Expand Down

0 comments on commit ebd7945

Please sign in to comment.