jasmine / jasmine-npm

A jasmine runner for node projects.
MIT License
376 stars 145 forks source link

jasmine --helper flag broken following addHelperFiles() removal #197

Closed lucaswerkmeister closed 2 years ago

lucaswerkmeister commented 2 years ago
$ npx jasmine --helper=. .
/home/luwe/.npm/_npx/b5e471128a280083/node_modules/jasmine/lib/command.js:143
    jasmine.addHelperFiles(env.helpers);
            ^

TypeError: jasmine.addHelperFiles is not a function
    at runJasmine (/home/luwe/.npm/_npx/b5e471128a280083/node_modules/jasmine/lib/command.js:143:13)
    at async Command.run (/home/luwe/.npm/_npx/b5e471128a280083/node_modules/jasmine/lib/command.js:56:9)

28f949554402280d13aab8608a11feb2f00bcf98 removed addHelperFiles(), but runJasmine() in command.js still calls it.