Skip to content

Commit

Permalink
fix testing and removed unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushRedHat committed Jan 9, 2024
1 parent 4d7f3ea commit 3982e9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 40 deletions.
37 changes: 0 additions & 37 deletions lib/asyncapi.yml

This file was deleted.

5 changes: 2 additions & 3 deletions test/test-project/test-registry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ describe('Integration testing generateFromFile() to make sure the result of the
it('generated using private registory', async () => {
const outputDir = generateFolderName();
const generator = new Generator('@asyncapi/html-template', outputDir,
{ forceWrite: true, templateParams: { singleFile: true },
registry: {url: 'http://localhost:4873/', username: 'admin', password: 'nimbda'}});
{ forceWrite: true, templateParams: { singleFile: true },
registry: {url: 'http://localhost:4873/', username: 'admin', password: 'nimbda'}});
await generator.generateFromFile(dummySpecPath);
const file = await readFile(path.join(outputDir, 'index.html'), 'utf8');
expect(file).toMatchSnapshot();
});

});

0 comments on commit 3982e9a

Please sign in to comment.