* fix exports comment formats * add tests * add change log * rename function name * merge logic * add tests to compare comment formats in `export` and `import`
26 lines
277 B
JavaScript
26 lines
277 B
JavaScript
// These are tests to compare comment formats in `export` and `import`.
|
|
|
|
export {
|
|
foo,
|
|
|
|
bar as // comment
|
|
baz,
|
|
} from 'foo'
|
|
|
|
const fooo = ""
|
|
const barr = ""
|
|
|
|
export {
|
|
fooo,
|
|
|
|
barr as // comment
|
|
bazz,
|
|
}
|
|
|
|
import {
|
|
foo,
|
|
|
|
bar as // comment
|
|
baz,
|
|
} from 'foo'
|