Skip to content

Commit

Permalink
Add Wazero mocks to test package.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed May 25, 2024
1 parent a7face4 commit 31d3596
Show file tree
Hide file tree
Showing 2 changed files with 295 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/wazero.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//go:generate mockgen -source=wazero.go -destination=wazero/wazero.go -package=test_wazero

package test

import "github.com/tetratelabs/wazero/api"

type (
Module interface{ api.Module }
Function interface{ api.Function }
)
285 changes: 285 additions & 0 deletions test/wazero/wazero.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31d3596

Please sign in to comment.