Test/add mock tests (#24)

* add scrape unit test using httpmock lib
This commit is contained in:
T.v.Dein
2023-12-29 13:47:18 +01:00
committed by Thomas von Dein
parent c4e88d98f2
commit f893f9c3d7
9 changed files with 279 additions and 2 deletions

1
go.mod
View File

@@ -18,6 +18,7 @@ require (
github.com/PuerkitoBio/goquery v1.5.0 // indirect
github.com/andybalholm/cascadia v1.0.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/jarcoal/httpmock v1.3.1 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect