From 2c8bb738823ec4d9bd4356eed10c2ad241cf841d Mon Sep 17 00:00:00 2001 From: Adam Skoufis Date: Tue, 10 Dec 2024 15:27:45 +1100 Subject: [PATCH] Sort test data keys --- src/utils/componentsToHints.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/componentsToHints.test.ts b/src/utils/componentsToHints.test.ts index 8466644c..4c34631a 100644 --- a/src/utils/componentsToHints.test.ts +++ b/src/utils/componentsToHints.test.ts @@ -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(` @@ -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'] }, } );