Skip to content

Commit 17a68e7

Browse files
committed
added test cases for webpack#2349
1 parent eb9eaff commit 17a68e7

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

test/cases/parsing/issue-2349/a.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const x = 1 // named export
2+
export default 0 // default export
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {x} from './a' // named imported cases an errors
2+
3+
it("should be able to import a named export", function() {
4+
x.should.be.eql(1);
5+
});

0 commit comments

Comments
 (0)