Commit 9e93b4b
Fix failing test blocking v0.20.6 release (#68)
Mockery 2.4+ deprecated `Mockery.Macro.mockable/2` based on `Mix.env/0`
and the mix.exs constraint (~> 2.1) resolved to 2.5.0, emitting compile
warnings that fail CI's `mix test --warnings-as-errors`.
Enable Mockery explicitly via `config :mockery, enable: true` in
config/test.exs and switch the converter to `use Mockery.Macro` so the
`@compile {:no_warn_undefined, Mockery.Proxy.MacroProxy}` directive is
injected, silencing the undefined-proxy warnings.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 357c436 commit 9e93b4b
3 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments