diff options
author | Johannes Ewald <mail@johannesewald.de> | 2017-11-11 05:14:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-11 05:14:58 +0300 |
commit | 457955afab6e3f9baf649b6d9275d08f27b671ac (patch) | |
tree | 9b06934df193875f41dfc9400a352acd3183eb2a /testLib/throwError.js | |
parent | fff5037950f78b4164c299560f761bd5e3dc9e06 (diff) | |
parent | ec2175b17bd1f2ecdb479c66fab8a01666d6da3a (diff) |
Merge pull request #118 from jhnns/pr/origin/117
Enable const support
Diffstat (limited to 'testLib/throwError.js')
-rw-r--r-- | testLib/throwError.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testLib/throwError.js b/testLib/throwError.js index 9bdf68b..ffb6a71 100644 --- a/testLib/throwError.js +++ b/testLib/throwError.js @@ -1,3 +1,8 @@ +// Using const here because we know that Babel will transform that part +const test = 1; + module.exports = function () { + let test = 1; + throw new Error(); }; |