Include unit testing using jasmine and karma. It tests all the files independently and verifies its functionality.
To run the tests
npm i -g gulp-cli
npm install
npm test
You should see a screen like this:
Right now many of the tests are empty. Over time, we will fill the test cases.
Travis CI
This PR also completes the travis.yml file required for checks to pass. I expect it to work as I cannot test without pushing rights to the repo. If this script works, all the PRs will be tested for these tests and if any of the tests fail, it will show a cross.
Unit Testing
Include unit testing using
jasmine
andkarma
. It tests all the files independently and verifies its functionality.To run the tests
You should see a screen like this:
Right now many of the tests are empty. Over time, we will fill the test cases.
Travis CI
This PR also completes the
travis.yml
file required for checks to pass. I expect it to work as I cannot test without pushing rights to the repo. If this script works, all the PRs will be tested for these tests and if any of the tests fail, it will show a cross.Note: Travis CI needs to be tested.