jx/internal/resource/mock_command_test.go
Matthew Rich f81df14be3
Some checks failed
Lint / golangci-lint (push) Failing after 9m57s
Declarative Tests / test (push) Successful in 1m26s
add missing mock command
2024-04-09 13:34:23 -07:00

18 lines
295 B
Go

// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
package resource
import (
_ "fmt"
_ "github.com/stretchr/testify/assert"
_ "os"
_ "strings"
_ "testing"
)
type MockCommand Command
func (m *MockCommand) Execute(value any) ([]byte, error) {
return nil, nil
}