Files
test-repo/tests/format/js/comments/export-and-import.js
T
HosokawaR 765d78305f Fix exports comment formats. (#12860)
* fix exports comment formats

* add tests

* add change log

* rename function name

* merge logic

* add tests to compare comment formats in `export` and `import`
2022-05-15 22:39:55 +09:00

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'