Skip to content

Commit

Permalink
test: add AssignmentExpression test(refs #58)
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Jul 2, 2018
1 parent aa1afb0 commit 5f53992
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/spec.js
Expand Up @@ -162,5 +162,13 @@ module.exports = [
other: 'other-entry'
}
}
},
{
name: 'handle AssignmentExpression (#58)',
code: 'let foo; foo = "default-entry"\nexport default foo',
expected: {
module: 'default-entry',
exports: 'default-entry'
}
}
]

0 comments on commit 5f53992

Please sign in to comment.