Skip to content

Commit

Permalink
More ES6-Syntax removed
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Mar 31, 2016
1 parent 7050586 commit 338ab16
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/main-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ function getMimeType (file) {
}

describe('media-mime-detect:', function () {
beforeEach(() => qfs.makeTree(tempfile))
afterEach(() => qfs.removeTree(tempfile))
beforeEach(function () {
return qfs.makeTree(tempfile)
})

afterEach(function () {
return qfs.removeTree(tempfile)
})

it('should detect video/mp4 from streamable video', function () {
return loadData('1-video-streamable.mp4').then(getMimeType).should.eventually.equal('video/mp4')
Expand Down

0 comments on commit 338ab16

Please sign in to comment.