File: throwError.js

package info (click to toggle)
node-rewire 6.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 392 kB
  • sloc: javascript: 1,386; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 217 bytes parent folder | download
1
2
3
4
5
6
7
// Using deliberately const here because we know that we're transform const to let
const a = "a";

module.exports = function () {
    // Ensure that column numbers are correct
    const b = "b"; throw new Error();
};