Skip to content

Commit

Permalink
test(unit): simplify unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Nov 5, 2018
1 parent 415e17f commit b601d2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file removed test/fixtures/src/test.gif
Binary file not shown.
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Metalsmith = require('metalsmith')
const rimraf = require('rimraf')
const tap = require('tap')

const extentions = ['gif', 'png', 'svg', 'jpg']
const extentions = ['png', 'svg', 'jpg']

extentions.forEach(ext => {
tap.test(`should minify ${ext}`, assert => {
Expand Down Expand Up @@ -39,7 +39,7 @@ tap.test('should not compress corrupted file', assert => {
})

tap.test('should process a folder', assert => {
assert.plan(5)
assert.plan(4)

let smith = new Metalsmith('test/fixtures')

Expand Down

0 comments on commit b601d2c

Please sign in to comment.