val myPreConfiguredClient = skrape(HttpFetcher) {
headers = mapOf("some-custom-header" to "some-value")
fun `can use preconfigured client straight away`() {
myPreConfiguredClient.response {
headers.getValue("some-custom-header") toBe "some-value"
fun `can use preconfigured client but slightly modify`() {
myPreConfiguredClient.apply {
headers.getValue("some-custom-header") toBe "some-value"