Skip to content

Commit 3e428f8

Browse files
committed
test extname compliance
1 parent 36543bc commit 3e428f8

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎test/extname.js‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
'use strict';
2+
3+
var async = require('async');
4+
var should = require('should');
5+
var targets = require('../src/targets');
6+
7+
async.each(Object.keys(targets), function (target) {
8+
describe(target + '.extname()', function () {
9+
it('should have extname method', function (done) {
10+
targets[target].should.have.property('extname');
11+
targets[target].extname.should.be.a.Function;
12+
13+
done();
14+
});
15+
});
16+
});

0 commit comments

Comments
 (0)