You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My company uses Gulp on the front-end for our build process. We also have code quality gates we must pass before a build can be completed, such as passing unit tests. We currently test using the Karma, Mocha, Sinon, Chai, Istanbul, and Webpack stack. Because our Gulp tasks are so critical I want to extent testing to them as well, writing unit tests for them.
I am running into a lot of problems and my research points to Karma/Webpack considering these modules for the Gulp tasks to be node, not browser, environment. Can anyone point me to a configuration for Karma that enables my testing for Gulp tasks? (I totally understand this might not be the right project to post this in but I wanted to start here at our test runner first.)
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hello,
My company uses Gulp on the front-end for our build process. We also have code quality gates we must pass before a build can be completed, such as passing unit tests. We currently test using the Karma, Mocha, Sinon, Chai, Istanbul, and Webpack stack. Because our Gulp tasks are so critical I want to extent testing to them as well, writing unit tests for them.
I am running into a lot of problems and my research points to Karma/Webpack considering these modules for the Gulp tasks to be node, not browser, environment. Can anyone point me to a configuration for Karma that enables my testing for Gulp tasks? (I totally understand this might not be the right project to post this in but I wanted to start here at our test runner first.)
Thanks in advance!
The text was updated successfully, but these errors were encountered: