diff options
Diffstat (limited to 'testLib/throwError.js')
-rw-r--r-- | testLib/throwError.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testLib/throwError.js b/testLib/throwError.js index ffb6a71..0993618 100644 --- a/testLib/throwError.js +++ b/testLib/throwError.js @@ -1,8 +1,7 @@ -// Using const here because we know that Babel will transform that part -const test = 1; +// Using deliberately const here because we know that we're transform const to let +const a = "a"; module.exports = function () { - let test = 1; - - throw new Error(); + // Ensure that column numbers are correct + const b = "b"; throw new Error(); }; |