Skip to content

Commit

Permalink
Sort test data keys
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Dec 10, 2024
1 parent 7354aee commit 2c8bb73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/componentsToHints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import * as TypeScriptComponents from '../../cypress/projects/typescript/compone
describe('componentsToHints', () => {
it('should support javascript components with proptypes', () => {
const result = componentsToHints({
Foo: PropTypeComponents.Foo,
Bar: PropTypeComponents.Bar,
Foo: PropTypeComponents.Foo,
});

expect(result).toMatchInlineSnapshot(`
Expand Down Expand Up @@ -35,12 +35,12 @@ describe('componentsToHints', () => {
it('should support typescript components when provided with type data', () => {
const result = componentsToHints(
{
Foo: TypeScriptComponents.Foo,
Bar: TypeScriptComponents.Bar,
Foo: TypeScriptComponents.Foo,
},
{
Foo: { color: ['red', 'blue', 'black'] },
Bar: { color: ['red', 'blue', 'black'] },
Foo: { color: ['red', 'blue', 'black'] },
}
);

Expand Down

0 comments on commit 2c8bb73

Please sign in to comment.