Skip to content

Commit

Permalink
Fix naming of test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyi45 committed May 24, 2024
1 parent 86523a6 commit b9b7cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/src/templates/__tests__/names.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ testFunction(isSnakeCase, [
['snake_case', true],
['arcade_2d', true],
['PascalCase', false],
['pascalCase', false]
['camelCase', false]
]);
2 changes: 1 addition & 1 deletion scripts/src/templates/__tests__/template.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('Test adding new module', () => {
});

it('should require camel case for module names', async () => {
mockedAskQuestion.mockResolvedValueOnce('pascalCase');
mockedAskQuestion.mockResolvedValueOnce('camelCase');
await expectCommandFailure('Module names must be in snake case. (eg. binary_tree)');
});

Expand Down

0 comments on commit b9b7cba

Please sign in to comment.