refactor: Relocate JavaScript source and Node.js test files to dedicated directories and extract OpenAI stream runtime tool call finalization logic.
This commit is contained in:
1 parent
d3b60edb6f
commit
d4017b87c1
30 files changed
+201
-192
No files matched your search
@@ -101,7 +101,7 @@ func preflightSteps() [][]string {
|
||||
return [][]string{
|
||||
{"go", "test", "./...", "-count=1"},
|
||||
{"./tests/scripts/check-node-split-syntax.sh"},
|
||||
{"node", "--test", "api/helpers/stream-tool-sieve.test.js", "api/chat-stream.test.js", "api/compat/js_compat_test.js"},
|
||||
{"node", "--test", "tests/node/stream-tool-sieve.test.js", "tests/node/chat-stream.test.js", "tests/node/js_compat_test.js"},
|
||||
{"npm", "run", "build", "--prefix", "webui"},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ func TestPreflightStepsExactSequence(t *testing.T) {
|
||||
want := [][]string{
|
||||
{"go", "test", "./...", "-count=1"},
|
||||
{"./tests/scripts/check-node-split-syntax.sh"},
|
||||
{"node", "--test", "api/helpers/stream-tool-sieve.test.js", "api/chat-stream.test.js", "api/compat/js_compat_test.js"},
|
||||
{"node", "--test", "tests/node/stream-tool-sieve.test.js", "tests/node/chat-stream.test.js", "tests/node/js_compat_test.js"},
|
||||
{"npm", "run", "build", "--prefix", "webui"},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user