fix(core): update

This commit is contained in:
2024-06-22 13:20:55 +02:00
parent 138d71e8c5
commit 1965bd9b47
11 changed files with 46 additions and 47 deletions

View File

@ -8,7 +8,7 @@ let aidocs: tsdocs.AiDoc;
tap.test('should create an AIdocs class', async () => {
aidocs = new tsdocs.AiDoc({
'OPENAI_TOKEN': await testQenv.getEnvVarOnDemand('OPENAI_TOKEN')
OPENAI_TOKEN: await testQenv.getEnvVarOnDemand('OPENAI_TOKEN'),
});
expect(aidocs).toBeInstanceOf(tsdocs.AiDoc);
});
@ -16,12 +16,11 @@ tap.test('should create an AIdocs class', async () => {
tap.test('should start AIdocs', async () => {
await aidocs.start();
await aidocs.buildReadme('./');
})
});
tap.test('should start AIdocs', async () => {
await aidocs.start();
await aidocs.buildDescription('./');
})
});
tap.start();
tap.start();