lix-website/themes/lix/assets/bootstrap/node_modules/void-elements/test/index.js
2024-04-26 22:49:34 -06:00

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');