Skip to content

Commit 2666e9a

Browse files
authored
elm-test 0.19.1-revision17 (#655)
1 parent e2bf3e4 commit 2666e9a

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ Notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/). This project mirrors the Elm version. So version 0.19.1-revisionX of this project will be compatible with Elm 0.19.1.
66

7+
## 0.19.1-revision17 - 2025-11-18
8+
9+
### Fixed
10+
11+
When running tests, elm-test needs to merge `"dependencies"` and `"test-dependencies"` in your elm.json. To do this, elm-test uses [elm-solve-deps](https://github.com/mpizenberg/elm-solve-deps).
12+
13+
Previously, this merging step could result in ignoring the `"indirect"` parts of dependencies in elm.json, and getting a later (but still semver compatible) version instead. For example, you might have had `"elm/virtual-dom": "1.0.4"` in `"indirect"` in elm.json, but ended up getting 1.0.5 installed in tests.
14+
15+
Now, elm-test prefers the version mentioned in `"indirect"` if possible, so that you end up getting the same code in your source code and in tests.
16+
17+
See [issue 652](https://github.com/rtfeldman/node-test-runner/issues/652) for more details.
18+
19+
Thanks to [Juliano Solanho](@omnibs) for reporting and fixing!
20+
721
## 0.19.1-revision16 - 2025-07-06
822

923
### Fixed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "elm-test",
3-
"version": "0.19.1-revision16",
3+
"version": "0.19.1-revision17",
44
"description": "Run elm-test suites.",
55
"main": "elm-test.js",
66
"engines": {

0 commit comments

Comments
 (0)