Skip to content

Commit 6279014

Browse files
committed
add test case for ArrowFunctionExpression with SequenceExpression in body
1 parent a48a074 commit 6279014

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/cases/parsing/chunks/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,11 @@ it("should parse a string in require.ensure with arrow function expression", fun
2727
done();
2828
});
2929
});
30+
31+
32+
it("should parse a string in require.ensure with arrow function array expression", function(done) {
33+
require.ensure("./file", require => (require("./file").should.be.eql("ok"), done()));
34+
});
35+
36+
37+

0 commit comments

Comments
 (0)