Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jun 6, 2024
1 parent 5c41c13 commit 0ef156b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modelina-cli/test/helpers/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@ describe('generate models', () => {
it('should work with AsyncAPI v2 yaml input', async () => {
const models = await generateModels({}, AsyncapiV2Yaml, logger, Languages.typescript);
expect(Object.keys(models).length).equal(1);
expect(models[0].modelName).equal('UserSignedUpPayload');
});
it('should work with AsyncAPI v3 yaml input', async () => {
const models = await generateModels({}, AsyncapiV3Yaml, logger, Languages.typescript);
expect(Object.keys(models).length).equal(1);
expect(models[0].modelName).equal('UserSignedUpPayload');
});
it('should work with AsyncAPI v3 json input', async () => {
const models = await generateModels({}, AsyncapiV3JSON, logger, Languages.typescript);
expect(Object.keys(models).length).equal(1);
expect(models[0].modelName).equal('UserSignedUpPayload');
});
});

0 comments on commit 0ef156b

Please sign in to comment.