mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-12 07:00:42 +00:00
feat(task): replace built-in task adaptors with a sandboxed JS plugin system (#7076)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package constant
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestGetChannelBaseURLIsBoundsSafe(t *testing.T) {
|
||||
assert.Empty(t, GetChannelBaseURL(ChannelTypeTaskPlugin))
|
||||
assert.Empty(t, GetChannelBaseURL(9999))
|
||||
}
|
||||
Reference in New Issue
Block a user