You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
492 B
JavaScript
18 lines
492 B
JavaScript
5 years ago
|
var assert = require('better-assert');
|
||
|
|
||
|
describe('filter', function(){
|
||
|
it('Should contain property object', function(){
|
||
|
var list = require('../lib/index');
|
||
|
assert(list.hasOwnProperty('object'));
|
||
|
});
|
||
|
|
||
|
it('Should contain property array', function(){
|
||
|
var list = require('../lib/index');
|
||
|
assert(list.hasOwnProperty('array'));
|
||
|
});
|
||
|
|
||
|
it('Should contain property regex', function(){
|
||
|
var list = require('../lib/index');
|
||
|
assert(list.hasOwnProperty('regex'));
|
||
|
});
|
||
|
});
|