Skip to content

Commit

Permalink
ic: debug Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed May 6, 2017
1 parent 0f0dea4 commit 4da8190
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/cms/media/image.js
Expand Up @@ -15,7 +15,7 @@ import {
abeExtend
} from '../../../../src/cli'
config.set({root: path.join(process.cwd(), 'tests', 'unit', 'fixtures')})

console.log(config)
describe('image', function() {

var pathToImage = path.join(config.root, config.publish.url, config.upload.image, 'chat-1.jpg');
Expand Down Expand Up @@ -95,7 +95,6 @@ describe('image', function() {
var result = cmsMedia.image.getThumbsList()
chai.expect(result).to.not.be.undefined
chai.expect(result).to.have.length(1)
console.log(result[0])
chai.expect(result[0]).to.have.property('originalFile').to.equal(path.join(path.sep, 'unitimage', 'img.jpg'))
chai.expect(result[0]).to.have.property('thumbFile').to.equal(path.join(path.sep, 'unitimage', 'img_thumb.jpg'))
sinon.assert.calledOnce(coreUtils.file.getFilesSync)
Expand Down

0 comments on commit 4da8190

Please sign in to comment.