fix(core): update

This commit is contained in:
2024-06-22 21:21:52 +02:00
parent 5d2c9e6158
commit 3b4c6bd97f
5 changed files with 72 additions and 13 deletions

View File

@@ -15,12 +15,24 @@ tap.test('should create an AIdocs class', async () => {
tap.test('should start AIdocs', async () => {
await aidocs.start();
});
tap.skip.test('should start AIdocs', async () => {
await aidocs.buildReadme('./');
});
tap.test('should start AIdocs', async () => {
await aidocs.start();
tap.skip.test('should start AIdocs', async () => {
await aidocs.buildDescription('./');
});
tap.test('should build commit object', async () => {
const commitObject = await aidocs.buildNextCommitObject('./');
console.log(commitObject);
expect(commitObject).not.toBeUndefined();
expect(commitObject).toHaveProperty('message');
expect(commitObject).toHaveProperty('recommendedNextVersion');
expect(commitObject).toHaveProperty('recommendedNextVersionLevel');
})
tap.start();