Skip to content

Commit

Permalink
typos codegen-controller.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vipocenka authored Dec 18, 2024
1 parent 245fe06 commit dedf860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/controller/codegen-controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Codegen can generate schema', () => {

it('codegen with incorrect schema field should fail', async () => {
const projectPath = path.join(__dirname, '../../test/schemaTest');
await expect(codegen(projectPath, ['project-bad-schema.yaml'])).rejects.toThrow(/is not an valid type/);
await expect(codegen(projectPath, ['project-bad-schema.yaml'])).rejects.toThrow(/is not a valid type/);
});

it('codegen with entities that uses reserved names should throw', async () => {
Expand Down

0 comments on commit dedf860

Please sign in to comment.