mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-24 02:10:00 +00:00
6 lines
209 B
JavaScript
6 lines
209 B
JavaScript
|
var assert = require('assert');
|
||
|
var voidElements = require('../');
|
||
|
assert(!voidElements.span, '<span> is not a void element');
|
||
|
assert(voidElements.img, '<img> is a void element');
|
||
|
console.log('tests passed');
|