Skip to content

Commit

Permalink
test: add replication test of #59
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Jul 16, 2018
1 parent c79f39d commit c78dccb
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/fixtures/issue059.js
@@ -0,0 +1 @@
export const other = 'other-entry'
14 changes: 14 additions & 0 deletions test/spec.js
Expand Up @@ -113,6 +113,20 @@ module.exports = [
exports: 'this is file'
}
},
{
name: 'not export default using transform-export-extensions and wildcard syntax (#59)',
code: "export * from './fixtures/issue059.js'; export default 'default-entry'",
expected: {
module: {
other: 'other-entry',
default: 'default-entry'
},
exports: {
other: 'other-entry',
default: 'default-entry'
}
}
},
{
name: 'export default and named declarations (#30)',
code: 'const foo = 1;const BAR = 2;export { foo as default, BAR }',
Expand Down

0 comments on commit c78dccb

Please sign in to comment.