elm-program-test
elm-program-test copied to clipboard
Missed elm/json project on indirect dependencies.
Hi @avh4 !!
I started one poc project and happend a problem.
My steps
- elm init
- elm install elm-test
- create a simple test
- Run and test was ok.
- elm-test install avh4/elm-program-test
- Run and got a error about invalidt elm.json. Repo with bug
So I compared with another package my that everything works, so I started install some packages to find the problem.
I installed elm/http and it continued with the problem. So I installed a elm/json and the tests go back works. Repo without bug
I suspect this is a problem with elm-test. Could you try using https://www.npmjs.com/package/elm-json with elm-json install --test avh4/elm-program-test instead of elm-test install avh4/elm-program-test and see if that works better?
Hi avh4!
I tested again with your sugestion and I got again the same error.
My steps:
- elm init
- elm install elm-test
- elm-test init
- elm-test => Run and test was ok.
- ./node_modules/elm-json/bin/elm-json install --test avh4/elm-program-test
-- PACKAGE CHANGES READY -------------------------------------------------------
I want to make some changes to your direct test dependencies
- [ADD] avh4/elm-program-test 3.1.0
I want to make some changes to your indirect test dependencies
- [ADD] avh4/elm-fifo 1.0.4
- [ADD] elm/bytes 1.0.8
- [ADD] elm/file 1.0.5
- [ADD] elm/http 2.0.0
Should I make these changes? yes
- elm-test => Run and got a error about invalid elm.json.
- ./node_modules/elm-json/bin/elm-json install elm/json
I want to make some changes to your direct dependencies
- [ADD] elm/json 1.1.3
I want to make some changes to your indirect dependencies
- [DEL] elm/json 1.1.3
- elm-test => Test pass now.