Skip to content

Commit

Permalink
more test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Rackmil authored and Harry Rackmil committed Jan 16, 2025
1 parent 9b3abec commit 1227b38
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ import (
func TestValidSkeletonConfig(t *testing.T) {

// TODO: set this to a valid config string using a feed from your new source
validConfig := `{}`
validConfig := `
{
"sources": [
{
"id": "MY_VALUE",
"config": {
"dataSource": "skeleton"
}
}
]
}`

config, err := configs.LoadConfigFromBytes([]byte(validConfig))
assert.NoError(t, err)
Expand Down

0 comments on commit 1227b38

Please sign in to comment.