jfmengels / elm-review / Review.Test.Dependencies

Pre-built dependencies that you can use for your tests.

If you are looking for a specific dependency not provided by this list, you can create one yourself. If you only care about a few types or functions, you can re-create them manually using the API in elm/project-metadata-utils. If you need the complete dependency of an existing package, with comments and everything, that is surprisingly difficult, so I made this script to generate dependencies to make that easier.

Dependencies

projectWithElmCore : Review.Project.Project

A project that only contains the elm/core dependency.

elmCore : Review.Project.Dependency.Dependency

Dependency for elm/core. It contains operators.

It is present by default in elm-review tests when you use Review.Test.run or Review.Test.runOnModules, or when you create a new project starting with projectWithElmCore.

Note that if you create a new project using Review.Project.new, you'll have to manually add it again with Review.Project.addDependency if you so wish to.

elmHtml : Review.Project.Dependency.Dependency

Dependency for elm/html.

elmParser : Review.Project.Dependency.Dependency

Dependency for elm/parser. It contains operators.

elmUrl : Review.Project.Dependency.Dependency

Dependency for elm/url. It contains operators.