NET-Web-API-w-Angular/my-app/node_modules/void-elements/test/index.js

6 lines
209 B
JavaScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
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');