From c6815508530fdc44380d05f946081630fe27aaf8 Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Sat, 30 Mar 2024 13:29:29 +0800 Subject: [PATCH] test: scoping issue alr gone --- .../src/transformations/__tests__/un-export-rename.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/unminify/src/transformations/__tests__/un-export-rename.spec.ts b/packages/unminify/src/transformations/__tests__/un-export-rename.spec.ts index 24131732..a6646bf1 100644 --- a/packages/unminify/src/transformations/__tests__/un-export-rename.spec.ts +++ b/packages/unminify/src/transformations/__tests__/un-export-rename.spec.ts @@ -103,9 +103,7 @@ export default o; `, ) -// FIXME: https://github.com/facebook/jscodeshift/issues/263 -// JSCodeShift and `ast-types` didn't create the correct scope for BlockStatement -inlineTest.todo('should handle the scope correctly', +inlineTest('should handle the scope correctly', ` const a = 1; console.log(a);