feat(tools): allow tsx tabs (#61936)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Anna
2025-09-12 14:16:37 -04:00
committed by GitHub
parent 28411a2cec
commit ee05b0d5da
8 changed files with 26 additions and 5 deletions
+2 -1
View File
@@ -14,11 +14,12 @@ describe('sort-files', () => {
expect(sorted.length).toEqual(expected.length);
});
it('should sort the objects into jsx, html, css, js, ts order', () => {
it('should sort the objects into jsx, tsx, html, css, js, ts order', () => {
const sorted = sortChallengeFiles(challengeFiles);
const sortedKeys = sorted.map(({ fileKey }) => fileKey);
const expected = [
'indexjsx',
'indextsx',
'indexhtml',
'stylescss',
'scriptjs',