Skip to content

Commit 51da8f9

Browse files
author
Guiners
committed
fixing failed tests
1 parent 91998da commit 51da8f9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

genai/test/provisionedthroughput-with-txt.test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ const projectId = process.env.CAIP_PROJECT_ID;
2121
const sample = require('../provisioned-throughput/provisionedthroughput-with-txt.js');
2222
const {delay} = require('./util');
2323

24-
describe('provisioned-throughput-with-txt', () => {
25-
it('should return provisioned throughput result', async () => {
24+
describe('provisioned-throughput-with-txt', function () {
25+
it('should return provisioned throughput result', async function () {
2626
this.timeout(50000);
2727
this.retries(4);
28+
2829
await delay(this.test);
30+
2931
const output = await sample.generateWithProvisionedThroughput(projectId);
32+
3033
assert(output.length > 0);
3134
});
32-
});
35+
});

0 commit comments

Comments
 (0)