test.js 236 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 'use strict'; var assert = require('assert'); var doctypes = require('./'); assert(doctypes['html'] === '<!DOCTYPE html>'); assert(doctypes['xml'] === '<?xml version="1.0" encoding="utf-8" ?>'); console.log('tests passed');