elm-explorations / elm-explorations/test

Anything with Browser.Navigation.Key cannot be tested

Open
#24 23 comments 23 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
244
Forks
40
Avg merge
1d 23h
Merged PRs (30d)
2

Description

When using Browser.application I will put the Key in my model for later use.

When testing I want to create a model, but I don't have a way to get a Key.
So I cannot test functions that take my Model.

Can test provide a way to get a navigation key?

Originally opened this here https://github.com/elm/browser/issues/30

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.