test: fix caces

This commit is contained in:
DIYgod
2024-03-31 23:13:22 +08:00
parent f5ced001eb
commit bf4e5dd78f
6 changed files with 17 additions and 32 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { setupServer } from 'msw/node';
import { http, HttpResponse } from 'msw';
const server = setupServer(
http.post(`https://api.openai.com/v1/chat/completions`, () =>
http.post(`https://api.openai.mock/v1/chat/completions`, () =>
HttpResponse.json({
choices: [
{