TypeError: First argument to String.prototype.startsWith must not be a regular expression
at String.startsWith (native)
at Node.getValue (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:987:22)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:1424:62)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:3553:9)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:190:11)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:1728:40)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:187:33)
at Node.initialise (/path/to/project/node_modules/butternut/dist/butternut.cjs.js:998:32)
at /path/to/project/node_modules/butternut/dist/butternut.cjs.js:3146:46
at Array.forEach (native)
I tried to squash es6-shim, which among other things provides a polyfill for
String.prototype.startsWith
.There seem to be intentional misbehaviours in the source code, which lets Butternut fail its job.