@@ -48,7 +48,6 @@ async function runTest(files, callback) {
4848
4949test ( 'generates body attributes file correctly' , async ( ) => {
5050 await runTest (
51- 'attributes' ,
5251 {
5352 'app/test.jsx' : `
5453 import { useUI } from 'react-zero-ui';
@@ -83,7 +82,6 @@ test('generates body attributes file correctly', async () => {
8382
8483test ( 'generates body attributes file correctly when kebab-case is used' , async ( ) => {
8584 await runTest (
86- 'attributes' ,
8785 {
8886 'app/test.jsx' : `
8987 import { useUI } from 'react-zero-ui';
@@ -120,7 +118,6 @@ test('generates body attributes file correctly when kebab-case is used', async (
120118
121119test ( 'handles TypeScript generic types' , async ( ) => {
122120 await runTest (
123- 'typescript-generics' ,
124121 {
125122 'src/component.tsx' : `
126123 import { useUI } from 'react-zero-ui';
@@ -150,7 +147,6 @@ test('handles TypeScript generic types', async () => {
150147
151148test ( 'detects JavaScript setValue calls' , async ( ) => {
152149 await runTest (
153- 'javascript-detection' ,
154150 {
155151 'src/modal.js' : `
156152 import { useUI } from 'react-zero-ui';
@@ -191,7 +187,7 @@ test('detects JavaScript setValue calls', async () => {
191187
192188test ( 'handles boolean values' , async ( ) => {
193189 await runTest (
194- 'boolean-values' ,
190+
195191 {
196192 'app/toggle.tsx' : `
197193 import { useUI } from 'react-zero-ui';
@@ -224,7 +220,7 @@ test('handles boolean values', async () => {
224220
225221test ( 'handles kebab-case conversion' , async ( ) => {
226222 await runTest (
227- 'kebab-case' ,
223+
228224 {
229225 'src/styles.jsx' : `
230226 import { useUI } from 'react-zero-ui';
@@ -262,7 +258,7 @@ test('handles kebab-case conversion', async () => {
262258
263259test ( 'handles conditional expressions' , async ( ) => {
264260 await runTest (
265- 'conditionals' ,
261+
266262 {
267263 'app/conditional.jsx' : `
268264 import { useUI } from 'react-zero-ui';
@@ -299,7 +295,7 @@ test('handles conditional expressions', async () => {
299295
300296test ( 'handles multiple files and deduplication' , async ( ) => {
301297 await runTest (
302- 'multiple-files' ,
298+
303299 {
304300 'src/header.jsx' : `
305301 import { useUI } from 'react-zero-ui';
@@ -341,7 +337,7 @@ test('handles multiple files and deduplication', async () => {
341337
342338test ( 'handles parsing errors gracefully' , async ( ) => {
343339 await runTest (
344- 'parse-errors' ,
340+
345341 {
346342 'src/valid.jsx' : `
347343 import { useUI } from 'react-zero-ui';
@@ -376,7 +372,7 @@ test('throws on empty string initial value', () => {
376372
377373test ( 'valid edge cases: underscores + missing initial' , async ( ) => {
378374 await runTest (
379- 'valid-edge' ,
375+
380376 {
381377 'src/edge.jsx' : `
382378 import { useUI } from 'react-zero-ui';
@@ -403,7 +399,7 @@ test('watches for file changes', async () => {
403399 }
404400
405401 await runTest (
406- 'file-watching' ,
402+
407403 {
408404 'src/initial.jsx' : `
409405 import { useUI } from 'react-zero-ui';
@@ -442,7 +438,6 @@ test('watches for file changes', async () => {
442438
443439test ( 'ignores node_modules and hidden directories' , async ( ) => {
444440 await runTest (
445- 'ignored-dirs' ,
446441 {
447442 'src/valid.jsx' : `
448443 import { useUI } from 'react-zero-ui';
@@ -477,7 +472,7 @@ test('ignores node_modules and hidden directories', async () => {
477472
478473test ( 'handles deeply nested file structures' , async ( ) => {
479474 await runTest (
480- 'deep-nesting' ,
475+
481476 {
482477 'src/features/auth/components/login/LoginForm.jsx' : `
483478 import { useUI } from 'react-zero-ui';
@@ -496,7 +491,7 @@ test('handles deeply nested file structures', async () => {
496491
497492test ( 'handles complex TypeScript scenarios' , async ( ) => {
498493 await runTest (
499- 'complex-typescript' ,
494+
500495 {
501496 'src/complex.tsx' : `
502497 import { useUI } from 'react-zero-ui';
@@ -547,7 +542,7 @@ test('handles large projects efficiently', async function () {
547542
548543 const startTime = Date . now ( ) ;
549544
550- await runTest ( 'performance' , files , result => {
545+ await runTest ( files , result => {
551546 const endTime = Date . now ( ) ;
552547 const duration = endTime - startTime ;
553548
@@ -563,7 +558,6 @@ test('handles large projects efficiently', async function () {
563558
564559test ( 'handles special characters in values' , async ( ) => {
565560 await runTest (
566- 'special-chars' ,
567561 {
568562 'src/special.jsx' : `
569563 import { useUI } from 'react-zero-ui';
@@ -590,7 +584,6 @@ test('handles special characters in values', async () => {
590584test ( 'handles concurrent file modifications' , async ( ) => {
591585 // Test that rapid changes don't cause issues
592586 await runTest (
593- 'concurrent' ,
594587 {
595588 'src/rapid.jsx' : `
596589 import { useUI } from 'react-zero-ui';
@@ -800,7 +793,7 @@ test('patchConfigAlias - config file patching', async t => {
800793 }
801794 } ) ;
802795
803- test ( 'patchConfigAlias prefers tsconfig.json over jsconfig.json' , async ( ) => {
796+ await t . test ( 'patchConfigAlias prefers tsconfig.json over jsconfig.json' , async ( ) => {
804797 const testDir = fs . mkdtempSync ( path . join ( os . tmpdir ( ) , 'zero-ui-config-test' ) ) ;
805798 const originalCwd = process . cwd ( ) ;
806799
0 commit comments