Only `require('getopt.js')` once, and only if `getopt` is being tested.