Files
kubescape/core/pkg/resourcehandler/filesloader_test.go
VaibhavMalik4187 55162829e7 Added Test Suite for core/pkg package
Added unit tests for the following files:
- containerscan/datastructures.go
- hostsensorutils/hostsensordeploy.go
- hostsensorutils/hostsensorworkerpool.go
- hostsensorutils/utils.go
- policyhandler/handlepullpolicies.go
- policyhandler/handlepullpoliciesutils.go
- resourcehandler/filesloader.go
- resourcehandler/remotegitutils.go

Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com>
2023-11-23 14:19:13 +05:30

14 lines
286 B
Go

package resourcehandler
import (
"testing"
"github.com/stretchr/testify/assert"
)
// Initializes a new instance of FileResourceHandler.
func TestNewFileResourceHandler_InitializesNewInstance(t *testing.T) {
fileHandler := NewFileResourceHandler()
assert.NotNil(t, fileHandler)
}