chore: replace PPRemoveAbsolutePaths with generic fixture template data (#2265)

* chore: replace PPRemoveAbsolutePaths with generic fixture template data

* chore: update to goldie v2.7.1
This commit is contained in:
Pete Davison
2025-07-23 21:57:25 +01:00
committed by GitHub
parent dac5aa1954
commit 1c6d686356
24 changed files with 83 additions and 76 deletions

View File

@@ -53,9 +53,12 @@ tasks:
generate:fixtures:
desc: Runs tests and generates golden fixture files
aliases: [gen:fixtures, g:fixtures]
env:
GOLDIE_UPDATE: 'true'
GOLDIE_TEMPLATE: 'true'
cmds:
- find ./testdata -name '*.golden' -delete
- go test -update ./...
- go test ./...
install:mockery:
desc: Installs mockgen; a tool to generate mock files