Henrikh Kantuni

Results 64 issues of Henrikh Kantuni

The `Listing 6.11 PhotoGrooveTests.elm` (at the end of Chapter 6) is missing `noPhotosNoThumbnails` test.

In the `Listing 6.11 PhotoGrooveTests.elm` (at the end of Chapter 6), the `thumbnailsWork` test implementation is using `Fuzz.intRange 1 5`, but previously in the chapter that code was updated to...

The 2nd paragraph of section 6.3.3 says > Here we can benefit from the test coverage we've obtained through tests we wrote earlier in the chapter. We already have tests...

The last paragraph of "Simulating click events" (section 6.3.3) says > There's a problem with this approach. What if `urlFuzzer` happens to generate an empty list? We'd have no photo...

> Testing ClickedPhoto should be > Testing SlidHue

> TEST RUN FAILED > > Great success! should be > TEST RUN PASSED > > Great success!

```elm photoDecoder : Decoder Photo photoDecoder = decode buildPhoto |> required "url" string ... ``` should be ```elm photoDecoder : Decoder Photo photoDecoder = decode Photo |> required "url" string...

> TEST RUN FAILED > > Huzzah! You've written your first passing test! should be > TEST RUN PASSED > > Huzzah! You've written your first passing test!

```elm GotPhotos (Ok photos) -> case photos of first :: rest -> applyFilters { model | status = case List.head photos of Just photo -> Loaded photos photo.url Nothing ->...

| Elm value | Elm type | |--------|--------| | `{ name = "Shadow" }` | `{ password : String }` | should be | Elm value | Elm type |...