This repository has been archived on 2026-03-07 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
102076fd4bfe30db33a0dd9b6b9b3b0cce3b85c6
Bumps [github.com/sanity-io/litter](https://github.com/sanity-io/litter) from 1.5.2 to 1.5.4. - [Release notes](https://github.com/sanity-io/litter/releases) - [Changelog](https://github.com/sanity-io/litter/blob/main/CHANGELOG.md) - [Commits](https://github.com/sanity-io/litter/compare/v1.5.2...v1.5.4)
apex mocks
Package mocks provides a mock implementation of Apex which can be used to unit test applications using Apex logging.
Download
go get gitlab.com/unboundsoftware/apex-mocks
Usage
Make sure that your application uses log.Interface to be able to pass in a Mock from your tests instead.
To verify what has been logged:
logger := &apex.Mock{}
// ... run your actual test using the logger above
logger.Check(t, tt.wantLogged)
Languages
Go
100%