Advertisement
MartinGeorgiev

Untitled

Mar 12th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. let SoftUniFy = require('./SoftUniFy');
  2.  
  3. let expect = require('chai').expect;
  4.  
  5. describe("Main Test", function () {
  6. let sampleInstance;
  7. beforeEach(function () {
  8. sampleInstance = new SoftUniFy;
  9. });
  10. describe('testing softunify functionality', function () {
  11. it('testing Play Song', function () {
  12. expect(sampleInstance.playSong('Pesho')).to.equal('You have not downloaded a Pesho song yet. Use SoftUniFy\'s function downloadSong() to change that!');
  13. });
  14. });
  15. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement