SHARE
TWEET

Untitled

MartinGeorgiev Mar 12th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top