-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
This reporter plugin uses jasmine internally. When using mocha instead, it cannot be used without adding jasmine to the using project. To solve that, this package should define jasmine as a dependency itself.
This reporter plugin isuses jasmine internally and assumes that the dependant project does the same.
We have a protractor/mocha project, where it fails with the error:
[13:08:39] I/plugins - Fail: browserstack-protractor-plugin Plugin Tests
[13:08:39] E/plugins - Failure during onPrepare: jasmine is not defined
[13:08:39] E/plugins - ReferenceError: jasmine is not defined
at Object.onPrepare (C:\devel\git\uif-automation-poc\node_modules\protractor-browserstack-reporter\index.js:90:5)
at resolver (C:\devel\git\uif-automation-poc\node_modules\protractor\built\plugins.js:194:51)
at Function.promise (C:\devel\git\uif-automation-poc\node_modules\q\q.js:682:9)
at Plugins.safeCallPluginFun (C:\devel\git\uif-automation-poc\node_modules\protractor\built\plugins.js:207:22)
at C:\devel\git\uif-automation-poc\node_modules\protractor\built\plugins.js:219:40
at Array.map (<anonymous>)
at Plugins.onPrepare (C:\devel\git\uif-automation-poc\node_modules\protractor\built\plugins.js:219:18)
at Runner.runTestPreparer (C:\devel\git\uif-automation-poc\node_modules\protractor\built\runner.js:97:30)
at Object.exports.run (C:\devel\git\uif-automation-poc\node_modules\protractor\built\frameworks\mocha.js:80:10)
at C:\devel\git\uif-automation-poc\node_modules\protractor\built\runner.js:405:43
Metadata
Metadata
Assignees
Labels
No labels