Chore: Add linter rule to avoid imports from Grafana core in test datasource (#71779)
This commit is contained in:
@@ -8,15 +8,10 @@ import (
|
||||
"github.com/grafana/grafana-plugin-sdk-go/backend"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/data"
|
||||
"github.com/grafana/grafana-plugin-sdk-go/experimental"
|
||||
"github.com/grafana/grafana/pkg/setting"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func TestCSVFileScenario(t *testing.T) {
|
||||
cfg := setting.NewCfg()
|
||||
cfg.DataPath = t.TempDir()
|
||||
cfg.StaticRootPath = "../../../public"
|
||||
|
||||
s := &Service{}
|
||||
|
||||
t.Run("loadCsvFile", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user