const path = require('path');
const {expect} = require('chai');
const Song = require(path.join(__dirname.toString().replace('\\test\\', '\\'), 'song'));

let defaultSong = process.env.TEST_SONG;

console.log('DEFAULT SONG', process.env.TEST_SONG);

describe('Songs', function() {
    it('Has a constructor', function(done) {
        new Song(path.join(__dirname, '../../../public/music/' + decodeURI(defaultSong))).then(() => {
            done();
        }).catch((err) => {
            done(err);
        });
        expect(Song).to.be.a('function', 'Not a function.');
    });
    it('Should return an object', function(done) {
        new Song(path.join(__dirname, '../../../public/music/' + decodeURI(defaultSong))).then((song) => {
            expect(song).to.be.an('object');
            done();
        }).catch((err) => {
            done(err);
        });
    });
    it('Should throw an error for unknown song', function(done) {
        new Song('').then(() => {
            done(new Error('Didn\'t throw an error for unknown song.'));
        }).catch(() => {
            done();
        });
    });
});

@@ -53,24 +53,213 @@
 re('chai');%0A
+console.log(path.join(__dirname.toString().replace('%5C%5Ctest%5C%5C', '%5C%5C'), 'song'));%0Aconsole.log(%22Directory%22, fs.readdirSync(path.join(__dirname.toString().replace('%5C%5Ctest%5C%5C', '%5C%5C'), 'song')));%0A
 const Song =
@@ -335,16 +335,16 @@
 ong'));%0A
-
 %0Alet def
@@ -561,34 +561,33 @@
 ./public/music/'
- +
+,
  decodeURI(defau
@@ -878,10 +878,9 @@
 ic/'
- +
+,
  dec

Troubleshoot travis