]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: move files into correct test block
authorEvan You <yyx990803@gmail.com>
Mon, 1 May 2023 06:01:38 +0000 (14:01 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 1 May 2023 06:01:38 +0000 (14:01 +0800)
packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts

index 12a414cc1f275472434ce73cb9d409f2d9ca59fc..551e10237dc1f616d01e4da1ded51e5b0c148c3d 100644 (file)
@@ -455,11 +455,11 @@ describe('resolveType', () => {
   })
 
   describe('external type imports', () => {
-    const files = {
-      '/foo.ts': 'export type P = { foo: number }',
-      '/bar.d.ts': 'type X = { bar: string }; export { X as Y }'
-    }
     test('relative ts', () => {
+      const files = {
+        '/foo.ts': 'export type P = { foo: number }',
+        '/bar.d.ts': 'type X = { bar: string }; export { X as Y }'
+      }
       const { props, deps } = resolve(
         `
         import { P } from './foo'