Skip to content

Commit 91b15c1

Browse files
committed
fix: test issue
1 parent 45ea50e commit 91b15c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ax/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"build:module": "tsc -p tsconfig.build.module.json",
2525
"build:cjs": "tsc -p tsconfig.build.cjs.json",
2626
"watch:build": "tsc -p tsconfig.build.module.json -w",
27-
"test:unit": "ava --verbose",
27+
"test": "ava --verbose",
2828
"tsx": "node --env-file=.env --import=tsx",
2929
"release": "release-it",
3030
"publish": "npm run build && cd build && npm publish",

src/ax/prompts/prompts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ test('generate prompt', async (t) => {
5959
);
6060
gen.setExamples(examples);
6161

62-
const res = await gen.forward({ someText });
62+
const res = await gen.forward({ someText }, { stream: false });
6363

6464
t.deepEqual(res, {
6565
reason: 'Blah blah blah',

0 commit comments

Comments
 (0)