Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename
  • Loading branch information
huozhi committed Apr 21, 2024
commit b965f85460354e1b2fea503518a4c35c479d98ec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as clientMod from './client-wildcard'
import { ClientModExportC } from './client-wildcard'
import * as clientMod from './client-module'
import { ClientModExportC } from './client-module'

const map = {
...clientMod,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ createNextDescribe(
expect($('p').text()).toContain('client:mod-export-default')
})

it('should handle mixing wildcard imports and named imports from client components', async () => {
const $ = await next.render$('/client-import-wildcard')
it('should handle mixing namespace imports and named imports from client components', async () => {
const $ = await next.render$('/client-import-namespace')

expect($('#a').text()).toContain('client:mod-export-a')
expect($('#b').text()).toContain('client:mod-export-b')
Expand Down