expect([...detectImportNames('import { useFetch } from \'#app\'',{})]).toMatchInlineSnapshot('[]')
expect([...detectImportNames('import { useFetch } from \'nuxt/app\'',{})]).toMatchInlineSnapshot('[]')
})
it('should pick up other imports',()=>{
expect([...detectImportNames('import { useCustomFetch, someThing as someThingRenamed } from \'custom-fetch\'',{})]).toMatchInlineSnapshot(`
[
"useCustomFetch",
"someThingRenamed",
]
`)
expect([...detectImportNames('import { useCustomFetch, someThing as someThingRenamed } from \'custom-fetch\'',keyedComposables)]).toMatchInlineSnapshot(`