Skip to content

Commit 86ed67d

Browse files
committed
added rest args to ES6 canary to prevent test execution on Node.js@5.12
1 parent 56dedb2 commit 86ed67d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/unit/es6/canary.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
// A minimal file that uses ES6 features which will fail to load on
22
// older browsers.
33
`I load on ES6`;
4+
5+
module.exports = function usesRestArgs (...args) {
6+
return args;
7+
};

0 commit comments

Comments
 (0)