Skip to content

Commit

Permalink
test: add replication test of #61
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Jul 16, 2018
1 parent 648d621 commit 880a1a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/spec.js
Expand Up @@ -7,6 +7,15 @@ module.exports = [
exports: 'default-entry'
}
},
{
name: 'export default to module.exports using loose mode(#61)',
code: 'export default "default-entry"',
env: { loose: true },
expected: {
module: 'default-entry',
exports: 'default-entry'
}
},
{
name: 'export default to module.exports if only export default using umd',
code: 'export default "default-entry"',
Expand Down

0 comments on commit 880a1a2

Please sign in to comment.